mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 15:03:07 +00:00
#1113 Dark Pick Travel does not work correctly.
This commit is contained in:
1 parent
b621e8338b
commit
9ac8dd9e77
1 file changed
+4
-1
@@ -121,7 +121,10 @@ public class ItemDarkSteelPickaxe extends ItemPickaxe implements IEnergyContaine
|
||||
|
||||
@Override
|
||||
public boolean onItemUse(ItemStack item, EntityPlayer player, World world, int x, int y, int z, int side, float par8, float par9, float par10) {
|
||||
return doRightClickItemPlace(player, world, x, y, z, side, par8, par9, par10);
|
||||
if(!isTravelUpgradeActive(player, item)) {
|
||||
return doRightClickItemPlace(player, world, x, y, z, side, par8, par9, par10);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
static boolean doRightClickItemPlace(EntityPlayer player, World world, int x, int y, int z, int side, float par8, float par9, float par10) {
|
||||
|
||||
Reference in new issue
Block a user