code nutzlos gemacht
Dieser Commit ist enthalten in:
Ursprung
bcd3cc976b
Commit
67fcff7711
@ -12,7 +12,8 @@ public class SleepListener extends BasicListener{
|
|||||||
public SleepListener() {super(EnumSet.allOf(FightState.class));}
|
public SleepListener() {super(EnumSet.allOf(FightState.class));}
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onSleep(PlayerBedEnterEvent e) {
|
public void onSleep(PlayerBedEnterEvent e) {
|
||||||
Block b=e.getBed();
|
e.setCancelled(true);
|
||||||
b.getWorld().createExplosion(b.getLocation(),4.0F); //4==tnt => dosnt have any advantage in WS (noFire,sameStrength,moreInvSpace,selfDamage)
|
//Block b=e.getBed();
|
||||||
|
//b.getWorld().createExplosion(b.getLocation(),4.0F); //4==tnt => dosnt have any advantage in WS (noFire,sameStrength,moreInvSpace,selfDamage)
|
||||||
}
|
}
|
||||||
}
|
}
|
In neuem Issue referenzieren
Einen Benutzer sperren