Make bukkitEntity private to prevent incorrect usage

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-06-02 19:49:41 +10:00
parent d7c1a6ed5f
commit 9db0901922
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@
+ return tag.hasKey("Bukkit.updateLevel") && tag.getInt("Bukkit.updateLevel") >= level;
+ }
+
+ protected CraftEntity bukkitEntity;
+ private CraftEntity bukkitEntity;
+
+ public CraftEntity getBukkitEntity() {
+ if (bukkitEntity == null) {