mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-12 02:35:52 -07:00
Revert "Entity's bukkitEntity field now holds a CraftEntity by default."
This reverts commit 7a64e864fc481f001812d78cc4d767872c458706.
This commit is contained in:
@@ -2,8 +2,6 @@ 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;
|
||||
@@ -119,7 +117,7 @@ public abstract class Entity {
|
||||
af.a(0, ((Byte.valueOf((byte) 0))));
|
||||
a();
|
||||
|
||||
bukkitEntity = new CraftEntity(((WorldServer) l).getServer(), this); // CraftBukkit
|
||||
bukkitEntity = null; // CraftBukkit
|
||||
}
|
||||
|
||||
protected abstract void a();
|
||||
|
Reference in New Issue
Block a user