mirror of
https://github.com/ColdeZhang/Dominion.git
synced 2024-12-21 03:39:09 +08:00
修复了无法从residence迁移tp点的问题
This commit is contained in:
parent
2dfbae52cf
commit
8196d6d225
@ -79,7 +79,7 @@ public class ResMigration {
|
||||
dominionNode.loc2 = new Location(world, Double.parseDouble(loc[3]), Double.parseDouble(loc[4]), Double.parseDouble(loc[5]));
|
||||
if (res.TPLoc != null) {
|
||||
String[] tpLocStr = res.TPLoc.split(":");
|
||||
if (tpLocStr.length == 3) {
|
||||
if (tpLocStr.length >= 3) {
|
||||
dominionNode.tpLoc = new Location(world, Double.parseDouble(tpLocStr[0]), Double.parseDouble(tpLocStr[1]), Double.parseDouble(tpLocStr[2]));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user