Update from upstream SpigotMC

eb39b4729ce
59b08be5833
a723278f74a
This commit is contained in:
Zach Brown 2015-01-04 20:01:24 -06:00
parent b7fb738d91
commit 1e81634a9d
6 changed files with 6 additions and 19 deletions

View file

@ -8,7 +8,7 @@ diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/buk
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/entity/Entity.java
+++ b/src/main/java/org/bukkit/entity/Entity.java
@@ -0,0 +0,0 @@ public interface Entity extends Metadatable {
@@ -0,0 +0,0 @@ public interface Entity extends Metadatable, CommandSender {
* @return if the custom name is displayed
*/
public boolean isCustomNameVisible();

View file

@ -68,8 +68,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java
@@ -0,0 +0,0 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
public boolean isCustomNameVisible() {
return getHandle().getCustomNameVisible();
public void setOp(boolean value) {
perm.setOp(value);
}
+
+ // Spigot start

View file

@ -655,7 +655,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/spigotmc/SpigotConfig.java

View file

@ -39,13 +39,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
int j = statistic.d() ? this.getStatisticValue(statistic) : 0;
super.setStatistic(entityhuman, statistic, i);
@@ -0,0 +0,0 @@ public class ServerStatisticManager extends StatisticManager {
return this.g;
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/spigotmc/SpigotConfig.java

View file

@ -124,7 +124,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ setSkullType( 3 ); // Work around client bug
+ g = input;
+ update();
+ if (world != null) {
+ world.notify(position);
+ }
+ return false;
+ }
+ });

View file

@ -17,13 +17,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
private Map d = Maps.newHashMap();
public PersistentCollection(IDataManager idatamanager) {
@@ -0,0 +0,0 @@ public class PersistentCollection {
return oshort.shortValue();
}
}
-}
+}
\ No newline at end of file
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/net/minecraft/server/World.java