Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rcjrrjcr - !(Permission.has(player, Permission.SHOP_CREATION) || ((Permission.has(player, Permission.SHOP_CREATION + "." + mat.getId()) || !Permission.has(player, Permission.EXCLUDE_ITEM + "." + mat.getId()))))
- 10:04 rcjrrjcr - Ah ha
- 10:04 rcjrrjcr - It's a bug
- 10:05 rcjrrjcr - The condition check is wrong
- 10:05 rcjrrjcr - It's ICCS3
- 10:05 rcjrrjcr - It should be
- 10:06 rcjrrjcr - !(Permission.has(player, Permission.SHOP_CREATION) || Permission.has(player, Permission.SHOP_CREATION + "." + mat.getId()) || Permission.has(player, Permission.EXCLUDE_ITEM + "." + mat.getId())
- 10:06 rcjrrjcr - Or reverse them
- 10:07 rcjrrjcr - I'll add a note
- 10:08 rcjrrjcr - Wait a moment
- 10:12 rcjrrjcr - Yeah, he's wrong
- 10:13 rcjrrjcr - !isAdmin && !(has shop.create || has shop.create.<id> || !(has shop.exclude.id)
- 10:14 rcjrrjcr - Kainzo: A temp fix would to give the default group ChestShop.shop.exclude.*
- 10:14 rcjrrjcr - But when he fixes this it will break, with no one able to build ChestShops
- 10:17 rcjrrjcr - Kainzo?
- 10:17 --- Doreagarde|work is away (Away)
- 10:18 Kainzo - tim here
- 10:19 rcjrrjcr - It's a logic error
- 10:19 Kainzo - ahh i see
- 10:19 rcjrrjcr - He's also allowing players without the exclude nodes to create chest shops
- 10:19 rcjrrjcr - s/also//
Add Comment
Please, Sign In to add comment