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
|
@Override
|
||||||
public boolean hasBuildAreaExtensionAreaRegistered() {
|
public boolean hasExtensionArea(RegionType regionType) {
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasTestblockExtensionAreaRegistered() {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -223,12 +223,16 @@ public class Region {
|
|||||||
undosessions.push(prototype.protect(this, schem));
|
undosessions.push(prototype.protect(this, schem));
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasBuildAreaExtensionAreaRegistered() {
|
public boolean hasExtensionArea(RegionType regionType) {
|
||||||
|
switch (regionType) {
|
||||||
|
case BUILD:
|
||||||
return prototype.buildArea.extensionPrototypeArea;
|
return prototype.buildArea.extensionPrototypeArea;
|
||||||
}
|
case TESTBLOCK:
|
||||||
|
|
||||||
public boolean hasTestblockExtensionAreaRegistered() {
|
|
||||||
return prototype.testblock.extensionPrototypeArea;
|
return prototype.testblock.extensionPrototypeArea;
|
||||||
|
default:
|
||||||
|
case NORMAL:
|
||||||
|
return prototype.extensionPrototypeArea;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initSessions() {
|
private void initSessions() {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren