bed spam fixed
This commit is contained in:
parent
c3c32312cc
commit
1082fadebe
1 changed files with 2 additions and 2 deletions
|
@ -110,8 +110,8 @@ public class SniperFlipperEvents {
|
||||||
ItemStack itemStack = packetSetSlot.func_149174_e();
|
ItemStack itemStack = packetSetSlot.func_149174_e();
|
||||||
Utils.debugLog("Slot 31: " + itemStack.getItem().getRegistryName());
|
Utils.debugLog("Slot 31: " + itemStack.getItem().getRegistryName());
|
||||||
if (itemStack.getItem() == Items.bed) {
|
if (itemStack.getItem() == Items.bed) {
|
||||||
boolean threadStatus = spam.isAlive();
|
boolean threadStatus = !spam.isAlive();
|
||||||
spam.interrupt();
|
if (spam.isAlive()) spam.interrupt();
|
||||||
if (!threadStatus) {
|
if (!threadStatus) {
|
||||||
spam.start();
|
spam.start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue