Rename and clean up MapleSummon

This commit is contained in:
P0nk
2021-09-09 22:39:43 +02:00
parent 03dc665605
commit 8a95459a17
10 changed files with 52 additions and 50 deletions

View File

@@ -1095,7 +1095,7 @@ public class PacketCreator {
* @param animated Animated spawn?
* @return The spawn packet for the map object.
*/
public static Packet spawnSummon(MapleSummon summon, boolean animated) {
public static Packet spawnSummon(Summon summon, boolean animated) {
OutPacket p = OutPacket.create(SendOpcode.SPAWN_SPECIAL_MAPOBJECT);
p.writeInt(summon.getOwner().getId());
p.writeInt(summon.getObjectId());
@@ -1118,7 +1118,7 @@ public class PacketCreator {
* @param animated Animated removal?
* @return The packet removing the object.
*/
public static Packet removeSummon(MapleSummon summon, boolean animated) {
public static Packet removeSummon(Summon summon, boolean animated) {
OutPacket p = OutPacket.create(SendOpcode.REMOVE_SPECIAL_MAPOBJECT);
p.writeInt(summon.getOwner().getId());
p.writeInt(summon.getObjectId());