Cleanup.
Dieser Commit ist enthalten in:
Ursprung
38ad0ea5fd
Commit
bb730f0ee7
@ -823,6 +823,7 @@ public abstract class EntityLiving extends Entity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void b(NBTTagCompound nbttagcompound) {
|
public void b(NBTTagCompound nbttagcompound) {
|
||||||
|
if (this.health < Short.MIN_VALUE) this.health = Short.MIN_VALUE; // CraftBukkit
|
||||||
nbttagcompound.setShort("Health", (short) this.health);
|
nbttagcompound.setShort("Health", (short) this.health);
|
||||||
nbttagcompound.setShort("HurtTime", (short) this.hurtTicks);
|
nbttagcompound.setShort("HurtTime", (short) this.hurtTicks);
|
||||||
nbttagcompound.setShort("DeathTime", (short) this.deathTicks);
|
nbttagcompound.setShort("DeathTime", (short) this.deathTicks);
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
package net.minecraft.server;
|
package net.minecraft.server;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
// Craftbukkit start
|
// CraftBukkit start
|
||||||
import org.bukkit.block.BlockState;
|
import org.bukkit.block.BlockState;
|
||||||
import org.bukkit.craftbukkit.event.CraftEventFactory;
|
import org.bukkit.craftbukkit.event.CraftEventFactory;
|
||||||
import org.bukkit.event.block.EntityBlockFormEvent;
|
import org.bukkit.event.block.EntityBlockFormEvent;
|
||||||
// Craftbukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
public class EntitySnowman extends EntityGolem {
|
public class EntitySnowman extends EntityGolem {
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ import org.yaml.snakeyaml.constructor.SafeConstructor;
|
|||||||
import org.yaml.snakeyaml.error.MarkedYAMLException;
|
import org.yaml.snakeyaml.error.MarkedYAMLException;
|
||||||
|
|
||||||
public final class CraftServer implements Server {
|
public final class CraftServer implements Server {
|
||||||
private final String serverName = "Craftbukkit";
|
private final String serverName = "CraftBukkit";
|
||||||
private final String serverVersion;
|
private final String serverVersion;
|
||||||
private final String bukkitVersion = Versioning.getBukkitVersion();
|
private final String bukkitVersion = Versioning.getBukkitVersion();
|
||||||
private final ServicesManager servicesManager = new SimpleServicesManager();
|
private final ServicesManager servicesManager = new SimpleServicesManager();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren