mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 20:22:12 +00:00
Turns out Gson allows comments, who knew?
This commit is contained in:
1 parent
b1b1a925d7
commit
c757f51069
4 files changed
+6
-6
No files matched your search
@@ -92,7 +92,7 @@ public class PoweredSpawnerConfig {
|
||||
}
|
||||
|
||||
blkList = rootObj.getAsJsonArray("blackList");
|
||||
if(blkList != null) {
|
||||
if(blkList != null && blkList.size() > 0) {
|
||||
blackList.clear();
|
||||
Log.info("Replacing default Powered Spawner blacklist with user supplied values.");
|
||||
for (int i = 0; i < blkList.size(); i++) {
|
||||
|
||||
@@ -226,7 +226,7 @@ public abstract class GuiContainerBase extends GuiContainer implements ToolTipRe
|
||||
}
|
||||
|
||||
// copied from super with hate
|
||||
private void drawItemStack(ItemStack stack, int mouseX, int mouseY, String str)
|
||||
protected void drawItemStack(ItemStack stack, int mouseX, int mouseY, String str)
|
||||
{
|
||||
GL11.glTranslatef(0.0F, 0.0F, 32.0F);
|
||||
this.zLevel = 200.0F;
|
||||
|
||||
Reference in new issue
Block a user