mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev
This commit is contained in:
commit
0ddf2d1d13
14 files changed
+35
-21
No files matched your search
@@ -11,7 +11,6 @@ import net.minecraft.util.ChatComponentTranslation;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import noppes.npcs.blocks.tiles.TileBanner;
|
||||
import noppes.npcs.blocks.tiles.TileSign;
|
||||
import noppes.npcs.blocks.tiles.TileVariant;
|
||||
|
||||
@@ -37,7 +36,7 @@ public class BlockSign extends BlockRotated {
|
||||
|
||||
@Override
|
||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) {
|
||||
TileBanner tile = (TileBanner) world.getTileEntity(x, y, z);
|
||||
TileSign tile = (TileSign) world.getTileEntity(x, y, z);
|
||||
return tile.canEdit();
|
||||
}
|
||||
|
||||
|
||||
@@ -287,10 +287,9 @@ public class ClientProxy extends CommonProxy {
|
||||
}
|
||||
Minecraft mc = Minecraft.getMinecraft();
|
||||
|
||||
NPCButton = new KeyBinding("NPC Inventory", Keyboard.KEY_N, "key.categories.customnpc");
|
||||
NPCButton = new KeyBinding("key.npcInventory", Keyboard.KEY_N, "key.categories.customnpc");
|
||||
|
||||
ClientRegistry.registerKeyBinding(NPCButton);
|
||||
mc.gameSettings.loadOptions();
|
||||
|
||||
new PresetController(CustomNpcs.Dir);
|
||||
|
||||
|
||||
Reference in new issue
Block a user