mirror of
https://github.com/BentoBoxWorld/Limits.git
synced 2024-11-29 06:05:12 +01:00
Fixes Mooshroom spawn egg in panel.
https://github.com/BentoBoxWorld/Limits/issues/28
This commit is contained in:
parent
c1c0537054
commit
fc577758e0
@ -26,9 +26,12 @@ import world.bentobox.bentobox.util.Util;
|
||||
public class LimitPanel {
|
||||
|
||||
private final Limits addon;
|
||||
// This maps the entity types to the icon that should be shown in the panel
|
||||
// If the icon is null, then the entity type is not covered by the addon
|
||||
public final static Map<EntityType, Material> E2M = new HashMap<>();
|
||||
static {
|
||||
E2M.put(EntityType.PIG_ZOMBIE, Material.ZOMBIE_PIGMAN_SPAWN_EGG);
|
||||
E2M.put(EntityType.MUSHROOM_COW, Material.MOOSHROOM_SPAWN_EGG);
|
||||
E2M.put(EntityType.SNOWMAN, Material.SNOW_BLOCK);
|
||||
E2M.put(EntityType.IRON_GOLEM, Material.IRON_BLOCK);
|
||||
E2M.put(EntityType.ILLUSIONER, Material.VILLAGER_SPAWN_EGG);
|
||||
|
Loading…
Reference in New Issue
Block a user