mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Fixing merge conflicts
This commit is contained in:
@ -398,8 +398,8 @@ public class Combat {
|
||||
baseXP = 20 * configInstance.getPlayerVersusPlayerXP();
|
||||
}
|
||||
}
|
||||
else if (!mcMMO.p.placeStore.isSpawnedMob(((Entity) target))) {
|
||||
if (target instanceof Animals && !mcMMO.p.placeStore.isSpawnedPet((Entity) target)) {
|
||||
else if (!mcMMO.placeStore.isSpawnedMob(((Entity) target))) {
|
||||
if (target instanceof Animals && !mcMMO.placeStore.isSpawnedPet((Entity) target)) {
|
||||
baseXP = configInstance.getAnimalsXP();
|
||||
}
|
||||
else {
|
||||
|
@ -19,7 +19,6 @@ import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
|
||||
import com.gmail.nossr50.mcMMO;
|
||||
import com.gmail.nossr50.runnables.ChunkletUnloader;
|
||||
import com.gmail.nossr50.runnables.blockstoreconversion.BlockStoreConversionZDirectory;
|
||||
|
||||
|
@ -22,8 +22,8 @@ public class PrimitiveChunkStore implements ChunkStore {
|
||||
private int cx;
|
||||
private int cz;
|
||||
private UUID worldUid;
|
||||
private List spawnedMobs = new ArrayList<UUID>();
|
||||
private List spawnedPets = new ArrayList<UUID>();
|
||||
private List<UUID> spawnedMobs = new ArrayList<UUID>();
|
||||
private List<UUID> spawnedPets = new ArrayList<UUID>();
|
||||
transient private int worldHeight;
|
||||
transient private int xBitShifts;
|
||||
transient private int zBitShifts;
|
||||
@ -214,8 +214,9 @@ public class PrimitiveChunkStore implements ChunkStore {
|
||||
}
|
||||
|
||||
if(fileVersionNumber >= 6) {
|
||||
spawnedMobs = (ArrayList) in.readObject();
|
||||
spawnedPets = (ArrayList) in.readObject();
|
||||
//What do we want to do about this? These casts are unchecked.
|
||||
spawnedMobs = (ArrayList<UUID>) in.readObject();
|
||||
spawnedPets = (ArrayList<UUID>) in.readObject();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user