Tweaked plugin manager error code, fixed type from previous commit

This commit is contained in:
Maruno17
2021-04-26 20:11:12 +01:00
parent b9e7d350a2
commit 31c87cbb1d
4 changed files with 60 additions and 59 deletions

View File

@@ -28,7 +28,7 @@ module GameData
# Check for TM/HM type icons
if item_data.is_machine?
prefix = "machine"
if item.data.is_HM?
if item_data.is_HM?
prefix = "machine_hm"
elsif item_data.is_TR?
prefix = "machine_tr"