Made /stack ignore buckets.

This commit is contained in:
sk89q 2010-11-30 02:33:51 -08:00
parent aa2bffbd00
commit d13f0b9191

View File

@ -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