Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ActionResultType onBlockActivated(World worldIn, ServerPlayerEntity player, INamedContainerProvider containerSupplier, BlockPos pos){
- if(!worldIn.isRemote()) {
- NetworkHooks.openGui(player, containerSupplier, pos);
- }
- return ActionResultType.SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement