Fixed crate interaction for creative mode users
This commit is contained in:
parent
3c2f73a27b
commit
1b19d4428b
1 changed files with 4 additions and 2 deletions
|
@ -176,8 +176,10 @@ public class BlockCrate extends BlockTile
|
||||||
tryEject(tile, player, world.getWorldTime() - tile.prevClickTime < 10);
|
tryEject(tile, player, world.getWorldTime() - tile.prevClickTime < 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
tryInsert(tile, player, world.getWorldTime() - tile.prevClickTime < 10);
|
tryInsert(tile, player, world.getWorldTime() - tile.prevClickTime < 10);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
tile.prevClickTime = world.getWorldTime();
|
tile.prevClickTime = world.getWorldTime();
|
||||||
|
|
Loading…
Reference in a new issue