Skip to content

Commit

Permalink
Remove additional hitboxes on destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtStudioCode committed Oct 15, 2021
1 parent 7078fe7 commit 462b56b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ object TileEntityManager : Listener {
tileEntityMap[chunkPos]?.remove(location)
locationCache -= location
tileEntity.additionalHitboxes.forEach {
tileEntityMap[it.chunkPos]?.remove(it)
additionalHitboxMap[it.chunkPos]?.remove(it)
locationCache -= it
}

Expand Down

0 comments on commit 462b56b

Please sign in to comment.