#802: Add methods to modify despawn delay for wandering villagers
By: DiamondDagger590 <diamonddagger590@gmail.com>
This commit is contained in:
@@ -13,7 +13,15 @@
|
||||
|
||||
public class EntityVillagerTrader extends EntityVillagerAbstract {
|
||||
|
||||
@@ -89,7 +95,16 @@
|
||||
@@ -12,6 +18,7 @@
|
||||
public EntityVillagerTrader(EntityTypes<? extends EntityVillagerTrader> entitytypes, World world) {
|
||||
super(entitytypes, world);
|
||||
this.attachedToPlayer = true;
|
||||
+ this.u(48000); // CraftBukkit - set default from MobSpawnerTrader
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -89,7 +96,16 @@
|
||||
MerchantRecipe merchantrecipe = villagertrades_imerchantrecipeoption.a(this, this.random);
|
||||
|
||||
if (merchantrecipe != null) {
|
||||
|
||||
Reference in New Issue
Block a user