We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c693cc commit ff6dbb4Copy full SHA for ff6dbb4
AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/chunklimits/BlockLimit.java
@@ -220,7 +220,7 @@ private void onBlockCanBuild(BlockCanBuildEvent event) {
220
}
221
222
int materialCount = getMaterialCountForChunk(event.getBlock().getType(), event.getBlock().getChunk());
223
- int limit = blockLimits.get(event.getBlock().getType());
+ int limit = blockLimits.get(event.getMaterial());
224
225
if (materialCount <= limit) {
226
logger().debug("Allowing player '{}' to place {} at location {} => count={} limit={}",
0 commit comments