mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Did the requested changes vol.4
This commit is contained in:
parent
f4da4d2423
commit
05bd9337ab
@ -601,6 +601,7 @@ public final class SlimefunItems {
|
||||
imS.setDisplayName(ChatColor.translateAlternateColorCodes('&', "&7Ancient Rune &8&l[&5&lSoulbound&8&l]"));
|
||||
itemS.setItemMeta(imS);
|
||||
RUNE_SOULBOUND = itemS;
|
||||
Slimefun.addHint("ANCIENT_RUNE_SOULBOUND", "&eThrow this onto a dropped item to", "&5bind ðat item to your soul.", "&eIt is advised for you use this rune", "&eon &6important &eitems.");
|
||||
}
|
||||
|
||||
/* Electricity */
|
||||
|
@ -46,7 +46,7 @@ public class SoulboundRune extends SimpleSlimefunItem<ItemDropHandler> {
|
||||
entity -> entity instanceof Item && !SlimefunManager.isItemSoulbound(((Item) entity).getItemStack()) &&
|
||||
!SlimefunManager.isItemSimiliar(((Item) entity).getItemStack(), SlimefunItems.RUNE_SOULBOUND, true)
|
||||
);
|
||||
if (entites.size() < 1) return;
|
||||
if (entites.isEmpty()) return;
|
||||
|
||||
Entity entity = entites.stream().findFirst().get();
|
||||
ItemStack ench = ((Item) entity).getItemStack();
|
||||
|
Loading…
Reference in New Issue
Block a user