mirror of
https://e.coding.net/circlecloud/TeleportRandom.git
synced 2024-10-31 07:28:47 +00:00
feat: 修复上个版本的空指针错误
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
97f0800fea
commit
6e28bf73a4
@ -129,6 +129,7 @@ public class TeleportRandom extends JavaPlugin implements CommandExecutor {
|
||||
|
||||
public Point(final int limit, final World world) {
|
||||
this.limit = limit;
|
||||
this.world = world;
|
||||
x = rr.nextInt(limit);
|
||||
z = rr.nextInt(limit);
|
||||
final int xf = rr.nextInt(x);
|
||||
|
Loading…
Reference in New Issue
Block a user