mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
minors
This commit is contained in:
1 parent
e676b13e36
commit
0de40159e4
3 files changed
+3
-3
No files matched your search
@@ -8,7 +8,7 @@ import net.minecraftforge.common.util.BlockSnapshot;
|
||||
import net.minecraftforge.event.world.BlockEvent;
|
||||
|
||||
|
||||
public class ItemHelper {
|
||||
public class ItemHelper {
|
||||
public static boolean canPlaceBlock(World world, int x, int y, int z, int xAt, int yAt, int zAt, EntityPlayer player){
|
||||
Block block = world.getBlock(x,y,z);
|
||||
Block blockAt= world.getBlock(xAt,zAt,yAt);
|
||||
|
||||
+1
-1
@@ -102,7 +102,7 @@ public class ItemTerraSword extends ItemManasteelSword implements ILensEffect, I
|
||||
|
||||
@Override
|
||||
public boolean collideBurst(IManaBurst burst, MovingObjectPosition pos, boolean isManaBlock, boolean dead, ItemStack stack, EntityPlayer player) {
|
||||
return false;
|
||||
return dead;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -95,7 +95,7 @@ public class ItemLokiRing extends ItemRelicBauble implements IExtendedWireframeC
|
||||
ItemStack stack = player.getCurrentEquippedItem();
|
||||
if(stack == null) return;
|
||||
Item item = player.getCurrentEquippedItem().getItem();
|
||||
if(item instanceof ItemTerraPick)
|
||||
if(item instanceof ISequentialBreaker)
|
||||
return;
|
||||
breakOnAllCursors(player, item, stack, x, y, z, side);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user