Fixes TinyTNT not being primable with flint & steel.

This commit is contained in:
Sebastian Hartte
2020-06-29 21:01:30 +02:00
parent f943106419
commit d5491549eb
3 changed files with 12 additions and 12 deletions
@@ -278,6 +278,11 @@ public abstract class AEBaseTileBlock<T extends AEBaseTileEntity> extends AEBase
return this.onActivated(world, pos, player, hand, player.getHeldItem(hand), hit);
}
public ActionResultType onActivated(final World w, final BlockPos pos, final PlayerEntity player, final Hand hand,
final @Nullable ItemStack heldItem, final BlockRayTraceResult hit) {
return ActionResultType.PASS;
}
@Override
public IOrientable getOrientable(final IBlockReader w, final BlockPos pos) {
return this.getTileEntity(w, pos);