Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.


version = "2.1.1"
version = "2.1.2"
group = "superhb.arcademod" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "arcademod"

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/superhb/arcademod/Reference.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class Reference {
public static final String MODID = "arcademod";
public static final String NAME = "Arcade Mod";
public static final String VERSION = "2.1.1";
public static final String VERSION = "2.1.2";
public static final String CLIENT_PROXY = "superhb.arcademod.proxy.ClientProxy";
public static final String SERVER_PROXY = "superhb.arcademod.proxy.CommonProxy";
public static final String DESCRIPTION = "Adds various arcade games to Minecraft";
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/superhb/arcademod/client/gui/GuiHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import superhb.arcademod.client.tileentity.*;

public class GuiHandler implements IGuiHandler {
private int SNAKE = 0, TETROMINOES = 1, PACMAN = 2, PONG = 3;
private int SNAKE = 0, TETROMINOES = 1, PACMAN = 2, PONG = 3, SPACEINVADERS = 4;
private int PRIZE = -1, PUSHER = -2;

@Override
Expand All @@ -23,6 +23,7 @@ public Object getClientGuiElement (int id, EntityPlayer player, World world, int
else if (id == PRIZE) return new GuiPrize((TileEntityPrize)world.getTileEntity(new BlockPos(x, y, z)));
else if (id == PUSHER) return new GuiPusher(world, x, y, z, player);
else if (id == PONG) return new GuiPong(world, (TileEntityArcade)world.getTileEntity(new BlockPos(x, y, z)), new BlockPos(x, y, z), player);
else if (id == SPACEINVADERS) return new GuiSpaceInvaders(world, (TileEntityArcade)world.getTileEntity(new BlockPos(x, y, z)), new BlockPos(x, y, z), player);
return null;
}
}
Loading