mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
superpickaxe on a piston head wont drop an unplacable block
This commit is contained in:
parent
66dcc99809
commit
86d12a62a0
@ -244,7 +244,7 @@ public abstract class LocalWorld {
|
|||||||
else if (type == 13) { // Gravel
|
else if (type == 13) { // Gravel
|
||||||
if (random.nextDouble() >= 0.9) {
|
if (random.nextDouble() >= 0.9) {
|
||||||
dropItem(pt, new BaseItemStack(318));
|
dropItem(pt, new BaseItemStack(318));
|
||||||
}else{
|
} else {
|
||||||
dropItem(pt, new BaseItemStack(type));
|
dropItem(pt, new BaseItemStack(type));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -258,6 +258,7 @@ public abstract class LocalWorld {
|
|||||||
else if (type == 20) { } // Glass
|
else if (type == 20) { } // Glass
|
||||||
else if (type == 21) { dropItem(pt, new BaseItemStack(351, 1, (short)4), (random.nextInt(5)+4)); } // Lapis Lazuli ore
|
else if (type == 21) { dropItem(pt, new BaseItemStack(351, 1, (short)4), (random.nextInt(5)+4)); } // Lapis Lazuli ore
|
||||||
else if (type == 26) { dropItem(pt, new BaseItemStack(355)); } // Bed
|
else if (type == 26) { dropItem(pt, new BaseItemStack(355)); } // Bed
|
||||||
|
else if (type == 34) { } // Piston Head
|
||||||
else if (type == 35) { dropItem(pt, new BaseItemStack(35, 1, (short)getBlockData(pt))); } // Cloth
|
else if (type == 35) { dropItem(pt, new BaseItemStack(35, 1, (short)getBlockData(pt))); } // Cloth
|
||||||
else if (type == 43) { // Double step
|
else if (type == 43) { // Double step
|
||||||
dropItem(pt, new BaseItemStack(44, 1, (short)getBlockData(pt)), 2);
|
dropItem(pt, new BaseItemStack(44, 1, (short)getBlockData(pt)), 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user