2013-04-03 09:20:29 +02:00
|
|
|
From 8683fb347217057606245806c92152829d9d6694 Mon Sep 17 00:00:00 2001
|
2013-03-01 23:43:59 +01:00
|
|
|
From: Yariv Livay <yarivlivay@gmail.com>
|
|
|
|
Date: Mon, 25 Feb 2013 22:26:36 +0200
|
|
|
|
Subject: [PATCH] Adds BUKKIT-3667, Faux sleepers wake up normally
|
|
|
|
|
|
|
|
---
|
2013-04-03 09:20:29 +02:00
|
|
|
.../java/net/minecraft/server/EntityPlayer.java | 2 +-
|
|
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
2013-03-01 23:43:59 +01:00
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
2013-03-25 08:57:00 +01:00
|
|
|
index 81ba038..f5910a2 100644
|
2013-03-01 23:43:59 +01:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
2013-03-19 06:51:45 +01:00
|
|
|
@@ -423,7 +423,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
2013-03-01 23:43:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public void a(boolean flag, boolean flag1, boolean flag2) {
|
|
|
|
- if (this.fauxSleeping && !this.sleeping) return; // CraftBukkit - Can't leave bed if not in one!
|
|
|
|
+ if (!this.sleeping) return; // CraftBukkit - Can't leave bed if not in one!
|
|
|
|
|
|
|
|
if (this.isSleeping()) {
|
2013-03-15 22:35:56 +01:00
|
|
|
this.o().getTracker().sendPacketToEntity(this, new Packet18ArmAnimation(this, 3));
|
2013-03-01 23:43:59 +01:00
|
|
|
--
|
2013-04-03 09:20:29 +02:00
|
|
|
1.7.0.4
|
2013-03-01 23:43:59 +01:00
|
|
|
|