Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion paper-api/src/main/java/org/bukkit/Chunk.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ static long getChunkKey(int x, int z) {
@NotNull
// Paper start
default BlockState @NotNull [] getTileEntities() {
return getTileEntities(true);
return getTileEntities(false);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
+ // CraftBukkit start - add method
+ public org.bukkit.inventory.InventoryHolder getOwner() {
+ // Paper start
+ return getOwner(true);
+ return getOwner(false);
+ }
+ public org.bukkit.inventory.InventoryHolder getOwner(boolean useSnapshot) {
+ // Paper end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public Entity[] getEntities() {
@Override
public BlockState[] getTileEntities() {
// Paper start
return getTileEntities(true);
return getTileEntities(false);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public static Class<? extends CraftBlockState> getBlockStateType(BlockEntityType

public static BlockState getBlockState(Block block) {
// Paper start
return CraftBlockStates.getBlockState(block, true);
return CraftBlockStates.getBlockState(block, false);
}
public static BlockState getBlockState(Block block, boolean useSnapshot) {
// Paper end
Expand Down