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();
|
||||
Utils.debugLog("Slot 31: " + itemStack.getItem().getRegistryName());
|
||||
if (itemStack.getItem() == Items.bed) {
|
||||
boolean threadStatus = spam.isAlive();
|
||||
spam.interrupt();
|
||||
boolean threadStatus = !spam.isAlive();
|
||||
if (spam.isAlive()) spam.interrupt();
|
||||
if (!threadStatus) {
|
||||
spam.start();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue