Simplify Region.hasType
Dieser Commit ist enthalten in:
Ursprung
e661d2657e
Commit
b70f5fd139
@ -204,6 +204,9 @@ public class Region {
|
|||||||
if (prototype == null) {
|
if (prototype == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (regionType == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
switch (regionType) {
|
switch (regionType) {
|
||||||
case BUILD:
|
case BUILD:
|
||||||
return prototype.getBuild() != null;
|
return prototype.getBuild() != null;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren