Fix error message for not found systems.

This commit is contained in:
SeanOMik 2020-07-08 14:00:11 -05:00
parent dc1297306f
commit 2e67719070
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 1 additions and 16 deletions

View File

@ -38,24 +38,9 @@ public class PlayerInteractListener implements Listener {
player.sendMessage(Reference.PREFIX + ChatColor.RED + "You are not trusted to this system!");
}
} else {
player.sendMessage(Reference.PREFIX + ChatColor.RED + "You are not trusted to this system!");
player.sendMessage(Reference.PREFIX + ChatColor.RED + "This is an invalid ES System!");
}
}
/*
// You probably do not need an atomic reference IntelliJ just recommended this to me.
AtomicReference<Double> lastIncrement = new AtomicReference<>((double) 0);
Bukkit.getScheduler().runTaskTimer(plugin, ()-> {
Location a = new Location(Bukkit.getWorld(""), 0,0,0,);
Location b = new Location(Bukkit.getWorld(""), 0,0,0,);
Vector d = b.subtract(a).toVector();
lastIncrement.updateAndGet(v -> (v + 0.1));
Location line = a.add(d).multiply(lastIncrement.get());
// Spawns 1 heart particle
line.getWorld().spawnParticle(Particle.HEART, line, 1);
}, (long) 20, (long) 15); // 20 = delay, 15 = timer
*/
}
}
}