mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 23:45:44 +00:00
Update to 20161111 mcp names
This commit is contained in:
1 parent
7a4aa5a1c4
commit
9ab96fbda6
9 files changed
+16
-16
No files matched your search
@@ -574,8 +574,8 @@ public class ForgeEventFactory
|
||||
Result canContinueSleep = evt.getResult();
|
||||
if (canContinueSleep == Result.DEFAULT)
|
||||
{
|
||||
IBlockState state = player.worldObj.getBlockState(player.playerLocation);
|
||||
return state.getBlock().isBed(state, player.worldObj, player.playerLocation, player);
|
||||
IBlockState state = player.worldObj.getBlockState(player.bedLocation);
|
||||
return state.getBlock().isBed(state, player.worldObj, player.bedLocation, player);
|
||||
}
|
||||
else
|
||||
return canContinueSleep == Result.ALLOW;
|
||||
|
||||
Reference in new issue
Block a user