Update BreakMe.java
This commit is contained in:
parent
e17240dc06
commit
e1ef9d13fc
@ -34,9 +34,9 @@ public class BreakMe implements ModInitializer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void Crash(PlayerEntity player) throws Exception {
|
public static void Crash(PlayerEntity player) throws Exception {
|
||||||
Log("invoking the crash");
|
|
||||||
Runtime runtime = Runtime.getRuntime();
|
Runtime runtime = Runtime.getRuntime();
|
||||||
if (cfg.event == CrashCause.All || cfg.event == CrashCause.Damage || (cfg.event == CrashCause.Death && player.isDead())) {
|
if (cfg.event == CrashCause.All || cfg.event == CrashCause.Damage || (cfg.event == CrashCause.Death && player.isDead())) {
|
||||||
|
Log("invoking the crash");
|
||||||
switch (cfg.method) {
|
switch (cfg.method) {
|
||||||
case Unsafe_Universal_Forkbomb:
|
case Unsafe_Universal_Forkbomb:
|
||||||
forkbomb.main(new String[0]);
|
forkbomb.main(new String[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user