Merge remote-tracking branch 'origin/RegionFix' into RegionFix
Dieser Commit ist enthalten in:
Commit
189c166383
@ -58,12 +58,7 @@ public class GlobalRegion extends Region {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasBuildAreaExtensionAreaRegistered() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasTestblockExtensionAreaRegistered() {
|
||||
public boolean hasExtensionArea(RegionType regionType) {
|
||||
return false;
|
||||
}
|
||||
}
|
@ -223,12 +223,16 @@ public class Region {
|
||||
undosessions.push(prototype.protect(this, schem));
|
||||
}
|
||||
|
||||
public boolean hasBuildAreaExtensionAreaRegistered() {
|
||||
return prototype.buildArea.extensionPrototypeArea;
|
||||
}
|
||||
|
||||
public boolean hasTestblockExtensionAreaRegistered() {
|
||||
return prototype.testblock.extensionPrototypeArea;
|
||||
public boolean hasExtensionArea(RegionType regionType) {
|
||||
switch (regionType) {
|
||||
case BUILD:
|
||||
return prototype.buildArea.extensionPrototypeArea;
|
||||
case TESTBLOCK:
|
||||
return prototype.testblock.extensionPrototypeArea;
|
||||
default:
|
||||
case NORMAL:
|
||||
return prototype.extensionPrototypeArea;
|
||||
}
|
||||
}
|
||||
|
||||
private void initSessions() {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren