Upstream merge

By: md_5 <md_5@live.com.au>
This commit is contained in:
Spigot
2013-12-09 18:00:58 +11:00
parent 987080283a
commit a6e7c7a91e
46 changed files with 106 additions and 401 deletions

View File

@@ -1,4 +1,4 @@
From b4e3921724da47bc30f5fb3f6db60f9ae444c180 Mon Sep 17 00:00:00 2001
From 0f5ec7aa26d818aa3a78f920c75ecf28c4e6b7b5 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Thu, 7 Mar 2013 20:12:46 +1100
Subject: [PATCH] Async Operation Catching
@@ -66,10 +66,10 @@ index 9f818cf..8052ea6 100644
this.trackedPlayers.remove(entityplayer);
entityplayer.removeQueue.add(Integer.valueOf(this.tracker.getId()));
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index 76332a5..5b9c6ec 100644
index 97b991b..aca2455 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -897,6 +897,7 @@ public abstract class World implements IBlockAccess {
@@ -903,6 +903,7 @@ public abstract class World implements IBlockAccess {
}
public boolean addEntity(Entity entity, SpawnReason spawnReason) { // Changed signature, added SpawnReason
@@ -77,7 +77,7 @@ index 76332a5..5b9c6ec 100644
if (entity == null) return false;
// CraftBukkit end
@@ -1003,6 +1004,7 @@ public abstract class World implements IBlockAccess {
@@ -1009,6 +1010,7 @@ public abstract class World implements IBlockAccess {
}
public void removeEntity(Entity entity) {
@@ -85,7 +85,7 @@ index 76332a5..5b9c6ec 100644
entity.die();
if (entity instanceof EntityHuman) {
this.players.remove(entity);
@@ -2391,6 +2393,7 @@ public abstract class World implements IBlockAccess {
@@ -2397,6 +2399,7 @@ public abstract class World implements IBlockAccess {
}
public void a(List list) {