Removed Beast of Burden carrying restrictions

This commit is contained in:
randy 2024-11-08 16:21:10 -07:00
parent 8a72ac52db
commit 4eebee34c4

View file

@ -83,6 +83,7 @@ public abstract class BurdenBeast extends Familiar {
* @return {@code True} if so.
*/
public boolean isAllowed(Player owner, Item item) {
/*
if (item.getValue() > 50000) {
owner.getPacketDispatch().sendMessage("This item is too valuable to trust to this familiar.");
return false;
@ -95,6 +96,7 @@ public abstract class BurdenBeast extends Familiar {
owner.getPacketDispatch().sendMessage("You can't store " + item.getName().toLowerCase() + " in this familiar.");
return false;
}
*/
if(SummoningPouch.get(this.getPouchId()).abyssal){
if(!item.getName().toLowerCase().contains("essence")) {
owner.getPacketDispatch().sendMessage("You can only give unnoted essence to this familiar.");