mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-16 03:14:04 +00:00
Implement getNameUnsafe method to allow an unloaded world's name to be accessed (#1712)
* Implement getNameUnsafe method to allow an unloaded world's name to be accessed - Fixes #1671 and #504 * Add javadoc since tag Co-authored-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
@@ -198,6 +198,13 @@ public class WorldWrapper extends AbstractWorld {
|
||||
return parent.getName();
|
||||
}
|
||||
|
||||
//FAWE start - allow history to read an unloaded world's name
|
||||
@Override
|
||||
public String getNameUnsafe() {
|
||||
return parent.getNameUnsafe();
|
||||
}
|
||||
//FAWE end
|
||||
|
||||
@Override
|
||||
public <B extends BlockStateHolder<B>> boolean setBlock(BlockVector3 position, B block, boolean notifyAndLight) throws
|
||||
WorldEditException {
|
||||
|
Reference in New Issue
Block a user