forked from 2009Scape/Server
Removed Beast of Burden carrying restrictions
This commit is contained in:
parent
8a72ac52db
commit
4eebee34c4
1 changed files with 2 additions and 0 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue