Make the tile entity check respect the chunk processor status

This commit is contained in:
Alexander Söderberg 2020-05-13 12:25:48 +02:00
parent 3deff629b0
commit 435d877262
No known key found for this signature in database
GPG key ID: C0207FF7EA146678

View file

@ -257,7 +257,7 @@ public class PaperListener implements Listener {
}
@EventHandler(priority = EventPriority.HIGHEST) public void onBlockPlace(BlockPlaceEvent event) {
if (!Settings.Paper_Components.TILE_ENTITY_CHECK) {
if (!Settings.Paper_Components.TILE_ENTITY_CHECK || !Settings.Enabled_Components.CHUNK_PROCESSOR) {
return;
}
if (!(event.getBlock().getState(false) instanceof TileState)) {