mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Make the tile entity check respect the chunk processor status
This commit is contained in:
parent
3deff629b0
commit
435d877262
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ public class PaperListener implements Listener {
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.HIGHEST) public void onBlockPlace(BlockPlaceEvent event) {
|
@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;
|
return;
|
||||||
}
|
}
|
||||||
if (!(event.getBlock().getState(false) instanceof TileState)) {
|
if (!(event.getBlock().getState(false) instanceof TileState)) {
|
||||||
|
|
Loading…
Reference in a new issue