refactor: API

This commit is contained in:
cha0s 2021-01-21 20:11:41 -06:00
parent 2c9aa1ee09
commit 22e5b3adee

View File

@ -21,7 +21,7 @@ export default (latus) => class ServerJoin extends Join() {
if (player) {
return player.entity.instanceUuid;
}
const {fromResourceType: {Entity}} = resource(latus);
const {Entity} = latus.get('%resources.fromResourceType');
const entity = await Entity.load(
{
extends: join(