mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-09 20:31:28 +01:00
Fix: Issue #2
This commit is contained in:
parent
45922d790a
commit
20be4e156d
@ -121,8 +121,12 @@ public class PlayerListener implements Listener{
|
||||
for(Block blockEnd:gworld.blocksEnd){
|
||||
if(blockEnd.getLocation().distance(clickedBlock.getLocation())<1){
|
||||
if(!dplayer.isFinished){
|
||||
dplayer.finish();
|
||||
return;
|
||||
if(event.getAction()==Action.LEFT_CLICK_BLOCK){
|
||||
dplayer.finish();
|
||||
return;
|
||||
}else{
|
||||
p.msg(player,ChatColor.RED+"Du musst das Schild mit Links-klick berühren!");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user