Fix: Issue #2

This commit is contained in:
Grafe 2013-01-09 03:09:18 +01:00
parent 45922d790a
commit 20be4e156d

View File

@ -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!");
}
}
}
}