examine: fix item examine message recolor

This commit is contained in:
Adam
2022-04-21 09:24:31 -04:00
parent d533285a32
commit f8e754b62f
3 changed files with 51 additions and 3 deletions

View File

@@ -162,9 +162,6 @@ public class ExaminePlugin extends Plugin
ExamineType type;
switch (event.getType())
{
case ITEM_EXAMINE:
type = ExamineType.ITEM;
break;
case OBJECT_EXAMINE:
type = ExamineType.OBJECT;
break;
@@ -172,6 +169,7 @@ public class ExaminePlugin extends Plugin
type = ExamineType.NPC;
break;
case GAMEMESSAGE:
case ITEM_EXAMINE: // these are spoofed by us from a [proc,examine_item] script edit
type = ExamineType.IF3_ITEM;
break;
default: