forked from SteamWar/SteamWar
Fix replaceColor usage and correct config flag handling
This commit is contained in:
@@ -467,7 +467,7 @@ public class SchematicNode {
|
||||
}
|
||||
|
||||
public boolean getConfig(ConfigFlags flag) {
|
||||
return (config & (1 << flag.ordinal())) == 1;
|
||||
return (config & (1 << flag.ordinal())) != 0;
|
||||
}
|
||||
|
||||
public void setConfig(ConfigFlags flag, boolean value) {
|
||||
|
||||
Reference in New Issue
Block a user