Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Commit d64c667

Browse files
committed
fix block place config check
1 parent 49879a1 commit d64c667

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/helion3/prism/listeners/ChangeBlockListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void onChangeBlock(ChangeBlockEvent event) {
104104
.target(finalBlockType.getId().replace("_", " "))
105105
.buildAndSave();
106106
} else if (event instanceof ChangeBlockEvent.Place) {
107-
if (!Prism.getInstance().getConfig().getEventCategory().isBlockGrow()
107+
if (!Prism.getInstance().getConfig().getEventCategory().isBlockPlace()
108108
|| BlockUtil.rejectPlaceCombination(originalBlockType, finalBlockType)
109109
|| EventUtil.rejectPlaceEventIdentity(originalBlockType, finalBlockType, event.getCause())) {
110110
continue;

0 commit comments

Comments
 (0)