Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-16 16:10:07 +01:00
Cleanup after merge
Dieser Commit ist enthalten in:
Ursprung
ccdbad967a
Commit
4b2f47e9f9
@ -63,8 +63,14 @@ public class PaperweightServerLevelDelegateProxy implements InvocationHandler {
|
||||
return null;
|
||||
}
|
||||
BlockEntity newEntity = tileEntity.getType().create(blockPos, getBlockState(blockPos));
|
||||
newEntity.loadWithComponents((CompoundTag) adapter.fromNativeLin(this.editSession.getFullBlock(BlockVector3.at(blockPos.getX(),
|
||||
blockPos.getY(), blockPos.getZ())).getNbtReference().getValue()), MinecraftServer.getServer().registryAccess());
|
||||
newEntity.loadWithComponents(
|
||||
(CompoundTag) adapter.fromNativeLin(this.editSession.getFullBlock(BlockVector3.at(
|
||||
blockPos.getX(),
|
||||
blockPos.getY(),
|
||||
blockPos.getZ()
|
||||
)).getNbtReference().getValue()),
|
||||
MinecraftServer.getServer().registryAccess()
|
||||
);
|
||||
|
||||
return newEntity;
|
||||
}
|
||||
|
@ -63,8 +63,14 @@ public class PaperweightServerLevelDelegateProxy implements InvocationHandler {
|
||||
return null;
|
||||
}
|
||||
BlockEntity newEntity = tileEntity.getType().create(blockPos, getBlockState(blockPos));
|
||||
newEntity.loadWithComponents((CompoundTag) adapter.fromNativeLin(this.editSession.getFullBlock(BlockVector3.at(blockPos.getX(),
|
||||
blockPos.getY(), blockPos.getZ())).getNbtReference().getValue()), MinecraftServer.getServer().registryAccess());
|
||||
newEntity.loadWithComponents(
|
||||
(CompoundTag) adapter.fromNativeLin(this.editSession.getFullBlock(BlockVector3.at(
|
||||
blockPos.getX(),
|
||||
blockPos.getY(),
|
||||
blockPos.getZ()
|
||||
)).getNbtReference().getValue()),
|
||||
MinecraftServer.getServer().registryAccess()
|
||||
);
|
||||
|
||||
return newEntity;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren