Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onBlockPlacedBy(World world, int i, int j, int k, int l, EntityLiving entityliving)
- {
- l = world.getBlockId(i, j - 1, k);
- if(l==0)
- {
- world.setBlockWithNotify( i, j, k, 0);
- }
- if(l==102)
- {
- world.setBlockWithNotify( i, j, k, 0);
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement