forked from MagicBane/Server
add UUID to slottest hireling list
This commit is contained in:
@@ -634,6 +634,10 @@ public class WorldServer {
|
|||||||
try {
|
try {
|
||||||
NPC runeMerchant = NPC.createNPC("Runey", 1200, new Vector3fImmutable(88862f, 33f, 44997f), Guild.getGuild(6), ZoneManager.getZoneByUUID(656), (short) 70, null);
|
NPC runeMerchant = NPC.createNPC("Runey", 1200, new Vector3fImmutable(88862f, 33f, 44997f), Guild.getGuild(6), ZoneManager.getZoneByUUID(656), (short) 70, null);
|
||||||
runeMerchant.sellPercent = 1000000;
|
runeMerchant.sellPercent = 1000000;
|
||||||
|
Building sdrHut = BuildingManager.getBuilding(27979);
|
||||||
|
runeMerchant.buildingUUID = sdrHut.getObjectUUID();
|
||||||
|
runeMerchant.building = sdrHut;
|
||||||
|
NPCManager.slotCharacterInBuilding(runeMerchant);
|
||||||
runeMerchant.setLoc(runeMerchant.bindLoc);
|
runeMerchant.setLoc(runeMerchant.bindLoc);
|
||||||
}
|
}
|
||||||
catch(Exception e){
|
catch(Exception e){
|
||||||
|
|||||||
Reference in New Issue
Block a user