We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faa2163 commit dcc7d07Copy full SHA for dcc7d07
engine/modules/entities/src/main/java/com/codingame/gameengine/module/entities/BlendableEntity.java
@@ -63,7 +63,7 @@ public BlendMode getBlendMode() {
63
*/
64
public T setBlendMode(BlendMode blendMode) {
65
this.blendMode = blendMode;
66
- set("blendMode", blendMode.getValue(), null);
+ set("blendMode", blendMode != null ? blendMode.getValue() : null, null);
67
return self();
68
}
69
0 commit comments