mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
Add missing CB comment
This commit is contained in:
parent
c81db390ac
commit
cab7c772df
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user