debug + emergency fix 3.0.4-beta
This commit is contained in:
parent
d2ecce10db
commit
716c61d6f0
4 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
mod_name = Lilase
|
||||
mod_id = lilase
|
||||
mod_version = 3.0.3
|
||||
mod_version = 3.0.4-beta
|
||||
|
||||
essential.defaults.loom=0
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ import static me.night0721.lilase.features.flipper.Flipper.webhook;
|
|||
public class Lilase {
|
||||
public static final String MOD_NAME = "Lilase";
|
||||
public static final String MODID = "Lilase";
|
||||
public static final String VERSION = "3.0.3";
|
||||
public static final String VERSION = "3.0.4-beta";
|
||||
public static final Minecraft mc = Minecraft.getMinecraft();
|
||||
// public static PageFlipper pageFlipper;
|
||||
public static Claimer claimer;
|
||||
|
|
|
@ -112,7 +112,7 @@ public class SniperFlipperEvents {
|
|||
}
|
||||
}).start();
|
||||
} else if (itemStack.getItem() == Items.gold_nugget || Item.getItemFromBlock(Blocks.gold_block) == itemStack.getItem()) {
|
||||
if (spam.isAlive()) {
|
||||
if (spam != null && spam.isAlive()) {
|
||||
spam.interrupt();
|
||||
}
|
||||
clickWindow(latestWindowId, 31);
|
||||
|
|
|
@ -208,8 +208,11 @@ public class Flipper {
|
|||
try {
|
||||
tileSign = (TileEntitySign) ReflectionUtils.field(guiEditSign, "tileSign");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
tileSign = (TileEntitySign) ReflectionUtils.field(guiEditSign, "field_146848_f");
|
||||
}
|
||||
Utils.debugLog("Sign(normal): " + ReflectionUtils.field(guiEditSign, "tileSign"));
|
||||
Utils.debugLog("Sign(obfuscated): " + ReflectionUtils.field(guiEditSign, "field_146848_f"));
|
||||
if (tileSign == null) {
|
||||
Utils.debugLog("TileEntitySign is null, stopping flipper");
|
||||
selling_queue.remove(0);
|
||||
|
|
Loading…
Reference in a new issue