1
0
mirror of https://github.com/LOOHP/Limbo.git synced 2026-06-08 05:51:43 +00:00

Follow naming conventions

This commit is contained in:
LOOHP
2021-04-06 12:50:26 +08:00
parent 2d77a0e15c
commit 6c90a82f7c
122 changed files with 373 additions and 373 deletions
+10 -10
View File
@@ -2,27 +2,27 @@ package com.loohp.limbo;
import java.lang.reflect.Constructor;
import com.loohp.limbo.Entity.DataWatcher;
import com.loohp.limbo.Entity.Entity;
import com.loohp.limbo.Location.Location;
import com.loohp.limbo.Player.Player;
import com.loohp.limbo.Utils.GameMode;
import com.loohp.limbo.World.World;
import com.loohp.limbo.entity.DataWatcher;
import com.loohp.limbo.entity.Entity;
import com.loohp.limbo.location.Location;
import com.loohp.limbo.player.Player;
import com.loohp.limbo.utils.GameMode;
import com.loohp.limbo.world.World;
@Deprecated
public class Unsafe {
private com.loohp.limbo.Player.Unsafe playerUnsafe;
private com.loohp.limbo.World.Unsafe worldUnsafe;
private com.loohp.limbo.player.Unsafe playerUnsafe;
private com.loohp.limbo.world.Unsafe worldUnsafe;
protected Unsafe() {
try {
Constructor<com.loohp.limbo.Player.Unsafe> playerConstructor = com.loohp.limbo.Player.Unsafe.class.getDeclaredConstructor();
Constructor<com.loohp.limbo.player.Unsafe> playerConstructor = com.loohp.limbo.player.Unsafe.class.getDeclaredConstructor();
playerConstructor.setAccessible(true);
playerUnsafe = playerConstructor.newInstance();
playerConstructor.setAccessible(false);
Constructor<com.loohp.limbo.World.Unsafe> worldConstructor = com.loohp.limbo.World.Unsafe.class.getDeclaredConstructor();
Constructor<com.loohp.limbo.world.Unsafe> worldConstructor = com.loohp.limbo.world.Unsafe.class.getDeclaredConstructor();
worldConstructor.setAccessible(true);
worldUnsafe = worldConstructor.newInstance();
worldConstructor.setAccessible(false);