| Total Complexity | 3 |
| Total Lines | 8 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | package de.pewpewproject.lasertag.block.entity; |
||
| 14 | public class LasertagCreditsButtonBlockEntity extends BlockEntity { |
||
| 15 | public LasertagCreditsButtonBlockEntity(BlockPos pos, BlockState state) { |
||
| 16 | super(Entities.LASERTAG_CREDITS_BLOCK_ENTITY, pos, state); |
||
| 17 | } |
||
| 18 | |||
| 19 | public void openScreen(PlayerEntity player) { |
||
| 20 | if (player.getEntityWorld().isClient) { |
||
| 21 | player.openLasertagCreditsScreen(player); |
||
| 22 | } |
||
| 25 |