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 4450b0b commit 152155eCopy full SHA for 152155e
Utility/ShowInventory.as
@@ -25,7 +25,9 @@ void onRender(CSprite@ this)
25
26
if (blob.getInventory() !is null) {
27
if (blob.getTeamNum() == this.getBlob().getTeamNum()) {
28
- int coins = player.getCoins();
+ if (blob.getPlayer() is null) return;
29
+
30
+ int coins = blob.getPlayer().getCoins();
31
CInventory@ inv = blob.getInventory();
32
if (inv is null) return;
33
0 commit comments