Skip to content

Commit

Permalink
Forestry conflict. #16
Browse files Browse the repository at this point in the history
  • Loading branch information
frodare committed May 5, 2017
1 parent 1c6e2d1 commit 6bc031d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}
apply plugin: 'net.minecraftforge.gradle.forge'

version = "1.11.2-23"
version = "1.11.2-24"
group= "net.torocraft.teletoro"
archivesBaseName = "teletoro"

Expand Down
2 changes: 1 addition & 1 deletion java/net/torocraft/teletoro/TeleToro.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public class TeleToro {

public static final String MODID = "teletoro";
public static final String VERSION = "1.11.2-23";
public static final String VERSION = "1.11.2-24";
public static final String MODNAME = "TeleToro";

@SidedProxy(clientSide = "net.torocraft.teletoro.ClientProxy", serverSide = "net.torocraft.teletoro.ServerProxy")
Expand Down
2 changes: 1 addition & 1 deletion java/net/torocraft/teletoro/Teletory.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void limitBuildHeight(PlaceEvent event) {
return;
}

if (event.getBlockSnapshot().getPos().getY() > TeletoryWorldProvider.HEIGHT) {
if (event.getBlockSnapshot().getPos().getY() > 32) {
event.getPlayer().sendMessage(new TextComponentString("max build height"));
event.setCanceled(true);
}
Expand Down
12 changes: 0 additions & 12 deletions java/net/torocraft/teletoro/world/TeletoryWorldProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,6 @@ public DimensionType getDimensionType() {
return Teletory.TYPE;
}

public static final int HEIGHT = 32;

@Override
public int getActualHeight() {
return HEIGHT;
}

@Override
public int getHeight() {
return HEIGHT;
}

@Override
@SideOnly(Side.CLIENT)
public Vec3d getFogColor(float par1, float par2) {
Expand Down

0 comments on commit 6bc031d

Please sign in to comment.