mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Avoid unnecessary symbol lookup
This commit is contained in:
@@ -141,7 +141,7 @@ public class CardFaceSymbols {
|
|||||||
|
|
||||||
public static void drawColorSet(Graphics g, ColorSet colorSet, float x, float y, final float imageSize) {
|
public static void drawColorSet(Graphics g, ColorSet colorSet, float x, float y, final float imageSize) {
|
||||||
if (colorSet.isColorless()) {
|
if (colorSet.isColorless()) {
|
||||||
CardFaceSymbols.drawSymbol(ManaCostShard.COLORLESS.getImageKey(), g, x, y, imageSize, imageSize);
|
g.drawImage(FSkinImage.MANA_COLORLESS, x, y, imageSize, imageSize);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user