mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Make the tile entity check respect the chunk processor status
This commit is contained in:
parent
3deff629b0
commit
435d877262
@ -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 New Issue
Block a user