Fix Region with null testblock #162
@ -46,11 +46,7 @@ public class CommandTestblock implements CommandExecutor {
|
||||
}
|
||||
|
||||
for(Region region : Region.getRegions()){
|
||||
if(region.inRegion(player.getLocation())){
|
||||
if (!region.hasTestblock()) {
|
||||
player.sendMessage(BauSystem.PREFIX + "§cRegion ohne Testblock");
|
||||
return false;
|
||||
}
|
||||
if(region.inRegion(player.getLocation()) && region.hasTestblock()){
|
||||
try {
|
||||
|
||||
Schematic schem = null;
|
||||
if(args.length > 0){
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren
Ok sollte so nun behoben sein.