mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 13:09:42 +00:00
Blood pendant, enchanted soil, enchanter, open bucket, prism, fix some rendering
This commit is contained in:
1 parent
5b1ac0368d
commit
e83d1600cf
21 files changed
+120
-19
No files matched your search
@@ -45,7 +45,7 @@ public class ItemOpenBucket extends ItemMod {
|
||||
return par1ItemStack;
|
||||
|
||||
Material material = par2World.getBlockState(pos).getBlock().getMaterial();
|
||||
int l = par2World.getBlockState(pos).getValue(BlockLiquid.LEVEL);
|
||||
int l = par2World.getBlockState(pos).getBlock().getMetaFromState(par2World.getBlockState(pos)); // hack to get meta so we don't have to know the level prop
|
||||
|
||||
if((material == Material.lava || material == Material.water) && l == 0) {
|
||||
par2World.setBlockToAir(pos);
|
||||
|
||||
Reference in new issue
Block a user