Skip to content

Commit

Permalink
Properly clear block entities, close #23
Browse files Browse the repository at this point in the history
  • Loading branch information
doctor4t committed Aug 14, 2020
1 parent 49c4544 commit de6bd68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

### Nomad Books 0.5.5 - 1.16.2
- Fixed an issue where ghost camps would visually stay for other clients when retrieving a camp
- Added an additional nomad book to the creative inventory (master nomad book) that has all upgrades and a width and height of 15 by default
- Fixed an issue where furnaces would drop experience despite keeping it when redeployed
- Added a nomad book to the creative inventory (master nomad book) that has all upgrades and a width and height of 15 by default
- Updated to Minecraft 1.16.2

### Nomad Books 0.5.4 - 1.16.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ public TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand han
for (int z = 0; z < width; z++) {
for (int y = 0; y < height; y++) {
BlockPos p = pos.add(new BlockPos(x, y, z));
BlockEntity blockEntity = serverWorld.getBlockEntity(p);
Clearable.clear(blockEntity);
world.removeBlockEntity(p);
}
}
}
Expand Down

0 comments on commit de6bd68

Please sign in to comment.