mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
fix a few things
This commit is contained in:
1 parent
a8c1f32650
commit
f6ba851886
3 files changed
+3
-4
No files matched your search
@@ -198,7 +198,7 @@ public class TProxyClient extends TProxyCommon
|
||||
|
||||
public void registerTickHandler ()
|
||||
{
|
||||
TickRegistry.registerTickHandler(new TClientTickHandler(), Side.CLIENT);
|
||||
new TClientTickHandler();
|
||||
// TickRegistry.registerTickHandler(new TimeTicker(), Side.CLIENT);
|
||||
// TickRegistry.registerTickHandler(new TCommonTickHandler(),
|
||||
// Side.CLIENT);
|
||||
@@ -716,7 +716,6 @@ public class TProxyClient extends TProxyCommon
|
||||
public void registerKeys ()
|
||||
{
|
||||
controlInstance = new TControls();
|
||||
TickRegistry.registerTickHandler(controlInstance, Side.CLIENT);
|
||||
uploadKeyBindingsToGame(Minecraft.getMinecraft().gameSettings, controlInstance);
|
||||
|
||||
TabRegistry.registerTab(new InventoryTabVanilla());
|
||||
|
||||
@@ -39,7 +39,7 @@ public class BarricadeItem extends ItemBlock
|
||||
side = 1;
|
||||
}
|
||||
else if (b != Blocks.vine && b != Blocks.tallgrass && b != Blocks.deadbush
|
||||
&& (b == null || !b.isBlockReplaceable(world, x, y, z)))
|
||||
&& (b == null || !b.func_149742_c(world, x, y, z)))
|
||||
{
|
||||
if (side == 0)
|
||||
{
|
||||
|
||||
@@ -167,7 +167,7 @@ public class SlimeTreeGen extends WorldGenerator
|
||||
protected void setBlockAndMetadata (World world, int x, int y, int z, Block block, int blockMeta)
|
||||
{
|
||||
Block blockWorld = world.func_147439_a(x, y, z);
|
||||
if (blockWorld == null || blockWorld == Blocks.air || blockWorld.isBlockReplaceable(world, x, y, z))
|
||||
if (blockWorld == null || blockWorld == Blocks.air || blockWorld.func_149742_c(world, x, y, z))
|
||||
{
|
||||
if (this.notify)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user