Dragonegg Teleport #356
@ -152,7 +152,7 @@ public class Permanent implements Listener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onBlockFromTo(BlockFromToEvent event) {
|
public void onBlockFromTo(BlockFromToEvent event) {
|
||||||
if(event.getBlock().getType().equals(Material.DRAGON_EGG)) return;
|
if(!event.getBlock().getType().equals(Material.DRAGON_EGG)) return;
|
||||||
|
|
||||||
for (FightTeam team : Fight.teams()) {
|
for (FightTeam team : Fight.teams()) {
|
||||||
if(team.getExtendRegion().inRegion(event.getBlock())){
|
if(team.getExtendRegion().inRegion(event.getBlock())){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren