Added logging and inventory rollback support for thrown/shot items
This commit is contained in:
parent
0d7fa2dd59
commit
b96f47cbac
19 changed files with 271 additions and 105 deletions
|
|
@ -801,6 +801,16 @@ public class Util extends Queue {
|
|||
return Material.ITEM_FRAME;
|
||||
case ENDER_CRYSTAL:
|
||||
return Material.END_CRYSTAL;
|
||||
case ENDER_PEARL:
|
||||
return Material.ENDER_PEARL;
|
||||
case SPLASH_POTION:
|
||||
return Material.SPLASH_POTION;
|
||||
case THROWN_EXP_BOTTLE:
|
||||
return Material.EXPERIENCE_BOTTLE;
|
||||
case TRIDENT:
|
||||
return Material.TRIDENT;
|
||||
case FIREWORK:
|
||||
return Material.FIREWORK_ROCKET;
|
||||
default:
|
||||
return BukkitAdapter.ADAPTER.getFrameType(type);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue