Fix CommandTestblock
Dieser Commit ist enthalten in:
Ursprung
b5b0cbf35e
Commit
3d57e56396
@ -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