mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-18 07:07:43 +01:00
Made /stack ignore buckets.
This commit is contained in:
parent
aa2bffbd00
commit
d13f0b9191
@ -399,6 +399,11 @@ public boolean onCommand(Player player, String[] split) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Ignore buckets
|
||||
if (item.c >= 325 && item.c <= 327) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (item.a < 64) {
|
||||
int needed = 64 - item.a; // Number of needed items until 64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user