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:
parent
b00afa4790
commit
2cd0378306
@ -157,7 +157,7 @@ public class LockedCategory extends Category {
|
|||||||
|
|
||||||
for (Category category : parents) {
|
for (Category category : parents) {
|
||||||
for (SlimefunItem item : category.getItems()) {
|
for (SlimefunItem item : category.getItems()) {
|
||||||
if (item.canUse(p, false)) {
|
if (!item.canUse(p, false)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user