Update BreakMe.java

This commit is contained in:
J. Fronny 2020-09-05 10:19:32 +00:00
parent e17240dc06
commit e1ef9d13fc

View File

@ -34,9 +34,9 @@ public class BreakMe implements ModInitializer {
}
public static void Crash(PlayerEntity player) throws Exception {
Log("invoking the crash");
Runtime runtime = Runtime.getRuntime();
if (cfg.event == CrashCause.All || cfg.event == CrashCause.Damage || (cfg.event == CrashCause.Death && player.isDead())) {
Log("invoking the crash");
switch (cfg.method) {
case Unsafe_Universal_Forkbomb:
forkbomb.main(new String[0]);