Add missing CB comment

This commit is contained in:
Thinkofdeath 2014-11-30 16:35:44 +00:00
parent c81db390ac
commit cab7c772df

View File

@ -1,5 +1,5 @@
--- ../work/decompile-8eb82bde//net/minecraft/server/EntityHuman.java 2014-11-30 16:32:54.472808010 +0000 --- ../work/decompile-8eb82bde//net/minecraft/server/EntityHuman.java 2014-11-30 16:35:27.792804607 +0000
+++ src/main/java/net/minecraft/server/EntityHuman.java 2014-11-30 16:32:11.364808967 +0000 +++ src/main/java/net/minecraft/server/EntityHuman.java 2014-11-30 16:34:50.780805428 +0000
@@ -8,13 +8,25 @@ @@ -8,13 +8,25 @@
import java.util.List; import java.util.List;
import java.util.UUID; import java.util.UUID;
@ -365,7 +365,7 @@
} }
public static BlockPosition getBed(World world, BlockPosition blockposition, boolean flag) { public static BlockPosition getBed(World world, BlockPosition blockposition, boolean flag) {
+ ((ChunkProviderServer) world.chunkProvider).getChunkAt(blockposition.getX() >> 4, blockposition.getZ() >> 4); + ((ChunkProviderServer) world.chunkProvider).getChunkAt(blockposition.getX() >> 4, blockposition.getZ() >> 4); // CraftBukkit
if (world.getType(blockposition).getBlock() != Blocks.BED) { if (world.getType(blockposition).getBlock() != Blocks.BED) {
if (!flag) { if (!flag) {
return null; return null;