mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Create parser context data for factory converter in non-user-mode
This commit is contained in:
parent
299d703f24
commit
a73a45ce43
@ -110,6 +110,9 @@ public class FactoryConverter<T> implements ArgumentConverter<T> {
|
|||||||
parserContext.setWorld((World) extent);
|
parserContext.setWorld((World) extent);
|
||||||
}
|
}
|
||||||
parserContext.setExtent(new RequestExtent());
|
parserContext.setExtent(new RequestExtent());
|
||||||
|
} else if (session.hasWorldOverride()) {
|
||||||
|
parserContext.setWorld(session.getWorldOverride());
|
||||||
|
parserContext.setExtent(new RequestExtent());
|
||||||
}
|
}
|
||||||
parserContext.setSession(session);
|
parserContext.setSession(session);
|
||||||
parserContext.setRestricted(true);
|
parserContext.setRestricted(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user