hopefully fixed long standing bug

This commit is contained in:
hyperdefined
2022-08-18 11:59:20 -04:00
parent 05f940026f
commit 082f529c32
5 changed files with 24 additions and 24 deletions

View File

@@ -84,10 +84,10 @@ public class SheepShear implements Listener {
sheepSheared = container.get(toolStats.shearsSheared, PersistentDataType.INTEGER);
}
if (sheepSheared == null) {
return;
} else {
sheepSheared++;
sheepSheared = 0;
}
sheepSheared++;
container.set(toolStats.shearsSheared, PersistentDataType.INTEGER, sheepSheared);
String sheepShearedLore = toolStats.getLoreFromConfig("sheep-sheared", false);