mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Entity's bukkitEntity field now holds a CraftEntity by default.
This commit is contained in:
1 parent
efdf9b8af7
commit
3931be421e
2 files changed
+4
-2
No files matched your search
@@ -2,6 +2,8 @@ package net.minecraft.server;
|
||||
|
||||
// CraftBukkit start
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.craftbukkit.CraftWorld;
|
||||
import org.bukkit.craftbukkit.entity.CraftEntity;
|
||||
import org.bukkit.event.Event.Type;
|
||||
import org.bukkit.event.entity.EntityCombustEvent;
|
||||
import org.bukkit.event.entity.EntityDamageByBlockEvent;
|
||||
@@ -117,7 +119,7 @@ public abstract class Entity {
|
||||
af.a(0, ((Byte.valueOf((byte) 0))));
|
||||
a();
|
||||
|
||||
bukkitEntity = null; // CraftBukkit
|
||||
bukkitEntity = new CraftEntity(((WorldServer) l).getServer(), this); // CraftBukkit
|
||||
}
|
||||
|
||||
protected abstract void a();
|
||||
|
||||
Reference in new issue
Block a user