1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00

Thank god we have Unit Tests :monkaS:

This commit is contained in:
TheBusyBiscuit 2020-12-22 15:53:00 +01:00
parent b00afa4790
commit 2cd0378306

View File

@ -157,7 +157,7 @@ public class LockedCategory extends Category {
for (Category category : parents) {
for (SlimefunItem item : category.getItems()) {
if (item.canUse(p, false)) {
if (!item.canUse(p, false)) {
return false;
}
}