mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 07:20:00 +08:00
fix missing | on dupe uuid patch
This commit is contained in:
parent
f4f8a3be2d
commit
3c61083c72
@ -119,7 +119,7 @@ index 4757081090..8cd2ed85bc 100644
|
|||||||
List entityslice = aentityslice[j]; // Spigot
|
List entityslice = aentityslice[j]; // Spigot
|
||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ DuplicateUUIDMode mode = world.paperConfig.duplicateUUIDMode;
|
+ DuplicateUUIDMode mode = world.paperConfig.duplicateUUIDMode;
|
||||||
+ if (mode == DuplicateUUIDMode.WARN | mode == DuplicateUUIDMode.DELETE || mode == DuplicateUUIDMode.REGEN || mode == DuplicateUUIDMode.SAFE_REGEN) {
|
+ if (mode == DuplicateUUIDMode.WARN || mode == DuplicateUUIDMode.DELETE || mode == DuplicateUUIDMode.REGEN || mode == DuplicateUUIDMode.SAFE_REGEN) {
|
||||||
+ Map<UUID, Entity> thisChunk = new HashMap<>();
|
+ Map<UUID, Entity> thisChunk = new HashMap<>();
|
||||||
+ for (Iterator<Entity> iterator = ((List<Entity>) entityslice).iterator(); iterator.hasNext(); ) {
|
+ for (Iterator<Entity> iterator = ((List<Entity>) entityslice).iterator(); iterator.hasNext(); ) {
|
||||||
+ Entity entity = iterator.next();
|
+ Entity entity = iterator.next();
|
||||||
|
Loading…
Reference in New Issue
Block a user