From e11cf6480cb3555142ebfe702e79e58536930348 Mon Sep 17 00:00:00 2001 From: haykam821 <24855774+haykam821@users.noreply.github.com> Date: Mon, 1 Nov 2021 09:27:22 -0400 Subject: [PATCH] Rename the PlayerEntity#isSleepingLongEnough method to canResetTimeBySleeping (#2803) Fixes #2637 --- mappings/net/minecraft/entity/player/PlayerEntity.mapping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mappings/net/minecraft/entity/player/PlayerEntity.mapping b/mappings/net/minecraft/entity/player/PlayerEntity.mapping index 82ece5ca0c..30b15614fc 100644 --- a/mappings/net/minecraft/entity/player/PlayerEntity.mapping +++ b/mappings/net/minecraft/entity/player/PlayerEntity.mapping @@ -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