@@ -0,0 +1,651 @@
+package ru.beykerykt.lightsource.sources;%0A%0Aimport org.bukkit.inventory.ItemStack;%0A%0Aimport ru.beykerykt.lightsource.LightSourceAPI;%0Aimport ru.beykerykt.lightsource.items.Item;%0A%0Apublic class EntityItemSource extends OwnedSource %7B%0A%0A%09public EntityItemSource(org.bukkit.entity.Item entity, Item item) %7B%0A%09%09super(entity, item);%0A%09%7D%0A%0A%09@Override%0A%09public org.bukkit.entity.Item getOwner() %7B%0A%09%09return (org.bukkit.entity.Item) super.getOwner();%0A%09%7D%0A%0A%09public ItemStack getItemStack() %7B%0A%09%09return getOwner().getItemStack();%0A%09%7D%0A%0A%09@Override%0A%09public boolean shouldExecute() %7B%0A%09%09return super.shouldExecute() && LightSourceAPI.getItemManager().isItem(getItemStack());%0A%09%7D%0A%7D%0A

add EntityItemSource