SteamWar/FightSystem
Archiviert
13
1

code nutzlos gemacht

Dieser Commit ist enthalten in:
Jan9103 2020-08-16 11:23:18 +02:00
Ursprung bcd3cc976b
Commit 67fcff7711

Datei anzeigen

@ -12,7 +12,8 @@ public class SleepListener extends BasicListener{
public SleepListener() {super(EnumSet.allOf(FightState.class));}
@EventHandler
public void onSleep(PlayerBedEnterEvent e) {
Block b=e.getBed();
b.getWorld().createExplosion(b.getLocation(),4.0F); //4==tnt => dosnt have any advantage in WS (noFire,sameStrength,moreInvSpace,selfDamage)
e.setCancelled(true);
//Block b=e.getBed();
//b.getWorld().createExplosion(b.getLocation(),4.0F); //4==tnt => dosnt have any advantage in WS (noFire,sameStrength,moreInvSpace,selfDamage)
}
}