mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-03 22:21:12 +00:00
fix: crafting permissions
This commit is contained in:
1 parent
407f1e054a
commit
34fe0c8434
2 files changed
+2
-2
No files matched your search
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>com.github.alathra</groupId>
|
<groupId>com.github.alathra</groupId>
|
||||||
<artifactId>SiegeEngines</artifactId>
|
<artifactId>SiegeEngines</artifactId>
|
||||||
<version>0.7.6</version>
|
<version>0.7.7</version>
|
||||||
|
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>SiegeEngines</name>
|
<name>SiegeEngines</name>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ public class CraftingHandler implements Listener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onCraft(CraftItemEvent event) {
|
public void onCraft(CraftItemEvent event) {
|
||||||
if (Config.craftingRecipes) {
|
if (!Config.craftingRecipes) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Recipe recipe = event.getRecipe();
|
Recipe recipe = event.getRecipe();
|
||||||
|
|||||||
Reference in new issue
Block a user