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