mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Reworked getEntity; Hi instanceof, bay 16 classes
This commit is contained in:
1 parent
75ba9a0f25
commit
b2a0c5a2ae
32 files changed
+85
-1797
No files matched your search
Regular → Executable
-6
@@ -1,7 +1,6 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
// CraftBukkit start
|
||||
import org.bukkit.craftbukkit.entity.CraftMonster;
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.craftbukkit.entity.CraftEntity;
|
||||
|
||||
@@ -19,11 +18,6 @@ public class EntityMonster extends EntityCreature implements IMonster {
|
||||
public EntityMonster(World world) {
|
||||
super(world);
|
||||
this.health = 20;
|
||||
|
||||
// CraftBukkit start
|
||||
CraftServer server = ((WorldServer) this.world).getServer();
|
||||
this.bukkitEntity = new CraftMonster(server, this);
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
||||
public void o() {
|
||||
|
||||
Reference in new issue
Block a user