Skip to content

Commit

Permalink
#45 is now fixed. :D
Browse files Browse the repository at this point in the history
- And that’s what happens when you comment something out, but don’t
comment out the SideOnly that comes with it…
  • Loading branch information
TrainerGuy22 committed Jun 6, 2014
1 parent c0693b9 commit d1013d0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/main/java/xreliquary/init/ContentHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ private static void checkAndRegister(Class objClass) throws Exception {
Block block = (Block) obj;
if(((XRInit) objClass.getAnnotation(XRInit.class)).itemBlock() != XRInit.class) {
GameRegistry.registerBlock(block, ((XRInit) objClass.getAnnotation(XRInit.class)).itemBlock(), block.getUnlocalizedName().substring(5));
System.out.println(block.getUnlocalizedName().substring(5));
} else
GameRegistry.registerBlock(block, block.getUnlocalizedName().substring(5));
} else {
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/xreliquary/items/ItemHandgun.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
@XRInit
public class ItemHandgun extends ItemBase {

@SideOnly(Side.CLIENT)
// private IIcon iconOverlay;

public ItemHandgun() {
super(Reference.MOD_ID, Names.handgun);
this.setMaxStackSize(1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import net.minecraft.util.IIcon;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.world.World;
import xreliquary.Reliquary;
import xreliquary.init.ContentHandler;
import xreliquary.lib.Names;
import xreliquary.lib.Reference;
Expand Down

0 comments on commit d1013d0

Please sign in to comment.