Rename the PlayerEntity#isSleepingLongEnough method to canResetTimeBySleeping (#2803)

Fixes #2637
This commit is contained in:
haykam821 2021-11-01 09:27:22 -04:00 committed by GitHub
parent bff8144124
commit e11cf6480c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
METHOD method_7273 setShoulderEntityLeft (Lnet/minecraft/class_2487;)V
ARG 1 entityNbt
METHOD method_7274 getEnderChestInventory ()Lnet/minecraft/class_1730;
METHOD method_7276 isSleepingLongEnough ()Z
METHOD method_7276 canResetTimeBySleeping ()Z
COMMENT {@return whether this player has been sleeping long enough to count towards
COMMENT resetting the time of day and weather of the server}
METHOD method_7277 addCritParticles (Lnet/minecraft/class_1297;)V