Load /npc spawn --at chunk

This commit is contained in:
fullwall 2019-12-03 19:01:29 +08:00
parent 7715232bb3
commit 0a748c7825

View File

@ -450,6 +450,7 @@ public class NPCCommands {
if (args.hasValueFlag("at")) {
spawnLoc = CommandContext.parseLocation(args.getSenderLocation(), args.getFlag("at"));
spawnLoc.getChunk().load();
}
if (spawnLoc == null) {