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

Commit f456812

Browse files
authored
Merge pull request #147 from seajayfx/master
fix block placing config check
2 parents 49879a1 + d64c667 commit f456812

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)