Fixed CME #103
@ -129,9 +129,7 @@ public class Detonator implements Listener {
|
||||
|
||||
if(event.getPlayer().isSneaking()) {
|
||||
if(locs.stream().filter(detonatorActivation -> detonatorActivation.location.equals(event.getClickedBlock().getLocation())).collect(Collectors.toList()).size() == 1) {
|
||||
locs.forEach(detonatorActivation -> {
|
||||
if(detonatorActivation.location.equals(event.getClickedBlock().getLocation())) locs.remove(detonatorActivation);
|
||||
});
|
||||
locs.removeIf(detonatorActivation -> detonatorActivation.location.equals(event.getClickedBlock().getLocation()));
|
||||
print(detoloader.addBack ? "§e" + detoloader.getBlock() + " entfernt" :
|
||||
detoloader.getBlock(), detoloader.addBack);
|
||||
}else {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren