mirror of
https://github.com/PaperMC/Paper.git
synced 2024-08-26 22:50:23 +02:00
More upstream merge
This commit is contained in:
parent
0908362738
commit
50a70a29e4
|
@ -1 +1 @@
|
|||
Subproject commit 2b6a9ce3a9d3cce265ed7a6bf8c01c807a34f1a2
|
||||
Subproject commit 3779cffb24256c4f3370646bb8a44da3fa3affae
|
|
@ -1,11 +1,11 @@
|
|||
From 45e658422839146811ddc9140d511f785b4c67c8 Mon Sep 17 00:00:00 2001
|
||||
From 6628f676976dcfee3abcc10ce6bcc2fc30bb7bf0 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 7 Jul 2013 09:32:53 +1000
|
||||
Subject: [PATCH] Spigot Configuration
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/DedicatedServer.java b/src/main/java/net/minecraft/server/DedicatedServer.java
|
||||
index 9cef53f..74e28cc 100644
|
||||
index f1caa38..00f9b89 100644
|
||||
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
|
||||
@@ -109,6 +109,11 @@ public class DedicatedServer extends MinecraftServer implements IMinecraftServer
|
||||
|
@ -34,18 +34,18 @@ index 9cef53f..74e28cc 100644
|
|||
if (!this.getOnlineMode()) {
|
||||
i.warn("**** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!");
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 0f97f78..13c0500 100644
|
||||
index e6bb1d5..4567ee2 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -107,6 +107,7 @@ public abstract class World implements IBlockAccess {
|
||||
int lastXAccessed = Integer.MIN_VALUE;
|
||||
int lastZAccessed = Integer.MIN_VALUE;
|
||||
final Object chunkLock = new Object();
|
||||
@@ -103,6 +103,7 @@ public abstract class World implements IBlockAccess {
|
||||
public boolean pvpMode;
|
||||
public boolean keepSpawnInMemory = true;
|
||||
public ChunkGenerator generator;
|
||||
+ public final org.spigotmc.SpigotWorldConfig spigotConfig; // Spigot
|
||||
|
||||
public CraftWorld getWorld() {
|
||||
return this.world;
|
||||
@@ -118,6 +119,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -114,6 +115,7 @@ public abstract class World implements IBlockAccess {
|
||||
|
||||
// Changed signature - added gen and env
|
||||
public World(IDataManager idatamanager, String s, WorldSettings worldsettings, WorldProvider worldprovider, MethodProfiler methodprofiler, ChunkGenerator gen, org.bukkit.World.Environment env) {
|
||||
|
@ -54,7 +54,7 @@ index 0f97f78..13c0500 100644
|
|||
this.world = new CraftWorld((WorldServer) this, gen, env);
|
||||
this.ticksPerAnimalSpawns = this.getServer().getTicksPerAnimalSpawns(); // CraftBukkit
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
index f3d9979..9f40d68 100644
|
||||
index 59010eb..bb1bddf 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
@@ -316,8 +316,10 @@ public final class CraftServer implements Server {
|
||||
|
@ -297,5 +297,5 @@ index 0000000..961ddb4
|
|||
+ }
|
||||
+}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
From 3b97fb4eaaef41db86499223495c75bdab2536c9 Mon Sep 17 00:00:00 2001
|
||||
From 644d19dee7e8c63e7dce45426b0365e00633d1e9 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Tue, 11 Jun 2013 12:56:02 +1000
|
||||
Subject: [PATCH] Better Chunk Tick Selection
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 13c0500..9d275b3 100644
|
||||
index 4567ee2..234ea35 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -61,7 +61,7 @@ public abstract class World implements IBlockAccess {
|
||||
|
@ -48,7 +48,7 @@ index 13c0500..9d275b3 100644
|
|||
public BiomeBase getBiome(int i, int j) {
|
||||
if (this.isLoaded(i, 0, j)) {
|
||||
Chunk chunk = this.getChunkAtWorldCoords(i, j);
|
||||
@@ -125,6 +149,11 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -121,6 +145,11 @@ public abstract class World implements IBlockAccess {
|
||||
this.ticksPerAnimalSpawns = this.getServer().getTicksPerAnimalSpawns(); // CraftBukkit
|
||||
this.ticksPerMonsterSpawns = this.getServer().getTicksPerMonsterSpawns(); // CraftBukkit
|
||||
// CraftBukkit end
|
||||
|
@ -60,7 +60,7 @@ index 13c0500..9d275b3 100644
|
|||
|
||||
this.K = this.random.nextInt(12000);
|
||||
this.allowMonsters = true;
|
||||
@@ -1915,24 +1944,44 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1900,24 +1929,44 @@ public abstract class World implements IBlockAccess {
|
||||
int k;
|
||||
int l;
|
||||
|
||||
|
@ -185,5 +185,5 @@ index 961ddb4..90a227f 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From cb54f74739ff0a97474b244cf05a7d59cfc2b0d0 Mon Sep 17 00:00:00 2001
|
||||
From c5a0b8b2d97cc9d0dce80bdfabb8e99be69a68fd Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 23 Mar 2013 09:46:33 +1100
|
||||
Subject: [PATCH] Merge tweaks and configuration
|
||||
|
@ -41,10 +41,10 @@ index 8343ac9..95beb11 100644
|
|||
}
|
||||
} else {
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 9d275b3..edf229b 100644
|
||||
index 234ea35..b7aed63 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -932,6 +932,23 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -917,6 +917,23 @@ public abstract class World implements IBlockAccess {
|
||||
// Not all projectiles extend EntityProjectile, so check for Bukkit interface instead
|
||||
event = CraftEventFactory.callProjectileLaunchEvent(entity);
|
||||
}
|
||||
|
@ -92,5 +92,5 @@ index 7e79ba5..1545a61 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From dbc3fd4cf4f7f6b1b81f6cd416844b93802e1de1 Mon Sep 17 00:00:00 2001
|
||||
From 728c17c2a96cb836ffe6a3449454cb8d4173753b Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Tue, 25 Mar 2014 16:10:01 +1100
|
||||
Subject: [PATCH] Async Operation Catching
|
||||
|
@ -66,10 +66,10 @@ index c148c4d..a2b54a4 100644
|
|||
this.trackedPlayers.remove(entityplayer);
|
||||
entityplayer.d(this.tracker);
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index edf229b..146285f 100644
|
||||
index b7aed63..1ec7267 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -901,6 +901,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -886,6 +886,7 @@ public abstract class World implements IBlockAccess {
|
||||
}
|
||||
|
||||
public boolean addEntity(Entity entity, SpawnReason spawnReason) { // Changed signature, added SpawnReason
|
||||
|
@ -77,7 +77,7 @@ index edf229b..146285f 100644
|
|||
if (entity == null) return false;
|
||||
// CraftBukkit end
|
||||
|
||||
@@ -1007,6 +1008,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -992,6 +993,7 @@ public abstract class World implements IBlockAccess {
|
||||
}
|
||||
|
||||
public void removeEntity(Entity entity) {
|
||||
|
@ -85,7 +85,7 @@ index edf229b..146285f 100644
|
|||
entity.die();
|
||||
if (entity instanceof EntityHuman) {
|
||||
this.players.remove(entity);
|
||||
@@ -2391,6 +2393,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -2376,6 +2378,7 @@ public abstract class World implements IBlockAccess {
|
||||
}
|
||||
|
||||
public void a(List list) {
|
||||
|
@ -94,7 +94,7 @@ index edf229b..146285f 100644
|
|||
// this.entityList.addAll(list);
|
||||
Entity entity = null;
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
index d9fbd00..bfa8c23 100644
|
||||
index a97e330..1f26312 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
@@ -159,6 +159,7 @@ public class CraftWorld implements World {
|
||||
|
@ -122,7 +122,7 @@ index d9fbd00..bfa8c23 100644
|
|||
if (generate) {
|
||||
// Use the default variant of loadChunk when generate == true.
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index 716cf70..d6bfa0d 100644
|
||||
index dea26e0..fd1c137 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -238,6 +238,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -169,5 +169,5 @@ index 0000000..4b3aa85
|
|||
+ }
|
||||
+}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 4d0dee30d2d4d05d385ba1c8742948f79b5a3895 Mon Sep 17 00:00:00 2001
|
||||
From e7d290ae1d04ca8c5b9e6868c4d01dc953e0d7d9 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Thu, 10 Jan 2013 00:18:11 -0500
|
||||
Subject: [PATCH] Improved Timings System
|
||||
|
@ -139,10 +139,10 @@ index 17b15f6..21cf068 100644
|
|||
|
||||
public boolean getAllowNether() {
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 9fa307e..ab9dc66 100644
|
||||
index 75a5cbe..5cde08f 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -938,6 +938,7 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
@@ -940,6 +940,7 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
// CraftBukkit end
|
||||
|
||||
private void handleCommand(String s) {
|
||||
|
@ -150,7 +150,7 @@ index 9fa307e..ab9dc66 100644
|
|||
// CraftBukkit start - whole method
|
||||
CraftPlayer player = this.getPlayer();
|
||||
|
||||
@@ -945,19 +946,23 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
@@ -947,19 +948,23 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
this.server.getPluginManager().callEvent(event);
|
||||
|
||||
if (event.isCancelled()) {
|
||||
|
@ -192,7 +192,7 @@ index 2a3d647..78e17d7 100644
|
|||
private static Map i = new HashMap();
|
||||
private static Map j = new HashMap();
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 5ea860f..7ead630 100644
|
||||
index 1ec7267..5d593eb 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -15,6 +15,7 @@ import java.util.concurrent.Callable;
|
||||
|
@ -203,8 +203,8 @@ index 5ea860f..7ead630 100644
|
|||
import org.bukkit.generator.ChunkGenerator;
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.craftbukkit.CraftWorld;
|
||||
@@ -133,6 +134,8 @@ public abstract class World implements IBlockAccess {
|
||||
final Object chunkLock = new Object();
|
||||
@@ -129,6 +130,8 @@ public abstract class World implements IBlockAccess {
|
||||
public ChunkGenerator generator;
|
||||
public final org.spigotmc.SpigotWorldConfig spigotConfig; // Spigot
|
||||
|
||||
+ public final SpigotTimings.WorldTimingsHandler timings; // Spigot
|
||||
|
@ -212,7 +212,7 @@ index 5ea860f..7ead630 100644
|
|||
public CraftWorld getWorld() {
|
||||
return this.world;
|
||||
}
|
||||
@@ -212,6 +215,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -208,6 +211,7 @@ public abstract class World implements IBlockAccess {
|
||||
this.a();
|
||||
|
||||
this.getServer().addWorld(this.world); // CraftBukkit
|
||||
|
@ -220,7 +220,7 @@ index 5ea860f..7ead630 100644
|
|||
}
|
||||
|
||||
protected abstract IChunkProvider j();
|
||||
@@ -1237,6 +1241,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1224,6 +1228,7 @@ public abstract class World implements IBlockAccess {
|
||||
this.f.clear();
|
||||
this.methodProfiler.c("regular");
|
||||
|
||||
|
@ -228,7 +228,7 @@ index 5ea860f..7ead630 100644
|
|||
// CraftBukkit start - Use field for loop variable
|
||||
for (this.tickPosition = 0; this.tickPosition < this.entityList.size(); ++this.tickPosition) {
|
||||
entity = (Entity) this.entityList.get(this.tickPosition);
|
||||
@@ -1260,7 +1265,9 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1247,7 +1252,9 @@ public abstract class World implements IBlockAccess {
|
||||
this.methodProfiler.a("tick");
|
||||
if (!entity.dead) {
|
||||
try {
|
||||
|
@ -238,7 +238,7 @@ index 5ea860f..7ead630 100644
|
|||
} catch (Throwable throwable1) {
|
||||
crashreport = CrashReport.a(throwable1, "Ticking entity");
|
||||
crashreportsystemdetails = crashreport.a("Entity being ticked");
|
||||
@@ -1285,7 +1292,9 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1272,7 +1279,9 @@ public abstract class World implements IBlockAccess {
|
||||
this.methodProfiler.b();
|
||||
}
|
||||
|
||||
|
@ -248,7 +248,7 @@ index 5ea860f..7ead630 100644
|
|||
this.M = true;
|
||||
Iterator iterator = this.tileEntityList.iterator();
|
||||
|
||||
@@ -1300,8 +1309,11 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1287,8 +1296,11 @@ public abstract class World implements IBlockAccess {
|
||||
|
||||
if (!tileentity.r() && tileentity.o() && this.isLoaded(tileentity.x, tileentity.y, tileentity.z)) {
|
||||
try {
|
||||
|
@ -260,7 +260,7 @@ index 5ea860f..7ead630 100644
|
|||
crashreport = CrashReport.a(throwable2, "Ticking block entity");
|
||||
crashreportsystemdetails = crashreport.a("Block entity being ticked");
|
||||
tileentity.a(crashreportsystemdetails);
|
||||
@@ -1321,6 +1333,8 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1308,6 +1320,8 @@ public abstract class World implements IBlockAccess {
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -269,7 +269,7 @@ index 5ea860f..7ead630 100644
|
|||
this.M = false;
|
||||
if (!this.b.isEmpty()) {
|
||||
this.tileEntityList.removeAll(this.b);
|
||||
@@ -1359,6 +1373,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1346,6 +1360,7 @@ public abstract class World implements IBlockAccess {
|
||||
this.a.clear();
|
||||
}
|
||||
|
||||
|
@ -277,7 +277,7 @@ index 5ea860f..7ead630 100644
|
|||
this.methodProfiler.b();
|
||||
this.methodProfiler.b();
|
||||
}
|
||||
@@ -1381,6 +1396,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1368,6 +1383,7 @@ public abstract class World implements IBlockAccess {
|
||||
byte b0 = 32;
|
||||
|
||||
if (!flag || this.b(i - b0, 0, j - b0, i + b0, 0, j + b0)) {
|
||||
|
@ -285,7 +285,7 @@ index 5ea860f..7ead630 100644
|
|||
entity.S = entity.locX;
|
||||
entity.T = entity.locY;
|
||||
entity.U = entity.locZ;
|
||||
@@ -1442,6 +1458,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1429,6 +1445,7 @@ public abstract class World implements IBlockAccess {
|
||||
entity.passenger = null;
|
||||
}
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
From e95aac5349ba7dac025251bc1c0c006dbfbfd010 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Primm <mike@primmhome.com>
|
||||
Date: Wed, 16 Jan 2013 15:27:22 -0600
|
||||
Subject: [PATCH] Sync Free Chunk Reference Cache
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 146285f..5ea860f 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -292,20 +292,18 @@ public abstract class World implements IBlockAccess {
|
||||
return this.getChunkAt(i >> 4, j >> 4);
|
||||
}
|
||||
|
||||
+ // Spigot start
|
||||
public Chunk getChunkAt(int i, int j) {
|
||||
- // CraftBukkit start
|
||||
- Chunk result = null;
|
||||
- synchronized (this.chunkLock) {
|
||||
- if (this.lastChunkAccessed == null || this.lastXAccessed != i || this.lastZAccessed != j) {
|
||||
- this.lastChunkAccessed = this.chunkProvider.getOrCreateChunk(i, j);
|
||||
- this.lastXAccessed = i;
|
||||
- this.lastZAccessed = j;
|
||||
- }
|
||||
- result = this.lastChunkAccessed;
|
||||
+ //synchronized (this.chunkLock) {
|
||||
+ Chunk result = this.lastChunkAccessed; // Exploit fact that read is atomic
|
||||
+ if (result == null || result.locX != i || result.locZ != j) {
|
||||
+ result = this.chunkProvider.getOrCreateChunk(i, j);
|
||||
+ this.lastChunkAccessed = result; // Exploit fact that write is atomic
|
||||
}
|
||||
+ //}
|
||||
return result;
|
||||
- // CraftBukkit end
|
||||
}
|
||||
+ // Spigot end
|
||||
|
||||
public boolean setTypeAndData(int i, int j, int k, Block block, int l, int i1) {
|
||||
if (i >= -30000000 && k >= -30000000 && i < 30000000 && k < 30000000) {
|
||||
--
|
||||
1.8.3.2
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From fa7ec75f87672542655a9d1a836d3090700ef8e1 Mon Sep 17 00:00:00 2001
|
||||
From 2dc506017149739aad757a34429cf94162128195 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Fri, 21 Jun 2013 17:29:54 +1000
|
||||
Subject: [PATCH] Fix Mob Spawning Relative to View Distance
|
||||
|
@ -151,5 +151,5 @@ index 6cc3a91..46249d7 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
From 400a4b262b161b4882e44a9f1833dd1b46ec30fb Mon Sep 17 00:00:00 2001
|
||||
From 48a3d1610d2a0c0bcec6e3c6ed550feb355b90de Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 3 Feb 2013 09:20:19 +1100
|
||||
Subject: [PATCH] Handle Null Tile Entities
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 7ead630..d9f987c 100644
|
||||
index 5d593eb..5246abd 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -1300,6 +1300,13 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1287,6 +1287,13 @@ public abstract class World implements IBlockAccess {
|
||||
|
||||
while (iterator.hasNext()) {
|
||||
TileEntity tileentity = (TileEntity) iterator.next();
|
||||
|
@ -23,5 +23,5 @@ index 7ead630..d9f987c 100644
|
|||
ChunkProviderServer chunkProviderServer = ((WorldServer) this).chunkProviderServer;
|
||||
if (chunkProviderServer.unloadQueue.contains(tileentity.x >> 4, tileentity.z >> 4)) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From c55d89f24822cee98493ecca99c8cf7c9a1b06f9 Mon Sep 17 00:00:00 2001
|
||||
From d640bc886bb0e8d0a9f820d151af56120e09be57 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Sun, 3 Feb 2013 05:10:21 -0500
|
||||
Subject: [PATCH] Entity Activation Range
|
||||
|
@ -155,10 +155,10 @@ index f90e2a3..6c77253 100644
|
|||
public EntityLiving(World world) {
|
||||
super(world);
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index d9f987c..7d9d325 100644
|
||||
index 5246abd..508c059 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -1241,6 +1241,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1228,6 +1228,7 @@ public abstract class World implements IBlockAccess {
|
||||
this.f.clear();
|
||||
this.methodProfiler.c("regular");
|
||||
|
||||
|
@ -166,7 +166,7 @@ index d9f987c..7d9d325 100644
|
|||
timings.entityTick.startTiming(); // Spigot
|
||||
// CraftBukkit start - Use field for loop variable
|
||||
for (this.tickPosition = 0; this.tickPosition < this.entityList.size(); ++this.tickPosition) {
|
||||
@@ -1402,7 +1403,11 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1389,7 +1390,11 @@ public abstract class World implements IBlockAccess {
|
||||
int j = MathHelper.floor(entity.locZ);
|
||||
byte b0 = 32;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 51a57c20021e2f9da57a803d86ad1ebcafb43096 Mon Sep 17 00:00:00 2001
|
||||
From 64fa9cb277665dcf02463a4ad93472e5a5f10cb8 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 23 Feb 2013 08:58:35 +1100
|
||||
Subject: [PATCH] Metrics
|
||||
|
@ -688,5 +688,5 @@ index fd5997d..98fcb47 100644
|
|||
|
||||
static void readConfig(Class<?> clazz, Object instance)
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 28f16d33624ed388f82d6d959e6c1371cdb2160a Mon Sep 17 00:00:00 2001
|
||||
From e215ab2e0adac57fc67baa5b4b4fbce4ceb1591b Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Mon, 4 Mar 2013 18:45:52 +1100
|
||||
Subject: [PATCH] PlayerItemDamageEvent
|
||||
|
@ -50,5 +50,5 @@ index 791467b..cc18816 100644
|
|||
--this.count;
|
||||
if (entityliving instanceof EntityHuman) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 5bc4b1498c02b4ad26a6ed80e46793426221011f Mon Sep 17 00:00:00 2001
|
||||
From 057734283eef7808469dd78e94ea86d4177b8c82 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 17 Mar 2013 19:02:50 +1100
|
||||
Subject: [PATCH] Faster UUID for entities
|
|
@ -1,4 +1,4 @@
|
|||
From 497af5fb267959f215b8ac57de702065a48ae931 Mon Sep 17 00:00:00 2001
|
||||
From f2da21e80183a5a42d4043949909cb82663ba5cd Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Mon, 18 Mar 2013 20:01:44 +1100
|
||||
Subject: [PATCH] Prevent NPE in CraftSign
|
||||
|
@ -32,5 +32,5 @@ index 77717d5..1533dd4 100644
|
|||
sign.update();
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 64e6d307ac64707605a61489c5d103511e18de64 Mon Sep 17 00:00:00 2001
|
||||
From 2d698107a735cb7fdfce121d5518a1c8d3761447 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Wed, 20 Feb 2013 11:58:47 -0500
|
||||
Subject: [PATCH] Entity Tracking Ranges
|
||||
|
@ -105,5 +105,5 @@ index 0000000..4bf4d2a
|
|||
+ }
|
||||
+}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 1a2892ea46bdb45810e99c2e858a8f335d45be2f Mon Sep 17 00:00:00 2001
|
||||
From 55030705cb3ebfa20d6d1f6891eee6b1758a1ca3 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 23 Mar 2013 19:08:41 +1100
|
||||
Subject: [PATCH] Limit Custom Map Rendering
|
||||
|
@ -70,5 +70,5 @@ index 1a150d9..c9f0027 100644
|
|||
protected final WorldMap worldMap;
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From e9def1247d73b078f8d84f3009b7a2d0ad5d59b7 Mon Sep 17 00:00:00 2001
|
||||
From 7b20e3085dc0b346f9ffb9f625465e53562ffb70 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Tue, 23 Apr 2013 11:50:27 +1000
|
||||
Subject: [PATCH] Thread Naming and Tweaks
|
||||
|
@ -19,5 +19,5 @@ index 84dcfcc..a30f217 100644
|
|||
private CraftAsyncDebugger debugTail = debugHead;
|
||||
private static final int RECENT_TICKS;
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From bfb997415d03a4394c2594a4cc8e9111e963752b Mon Sep 17 00:00:00 2001
|
||||
From cce115d0487bfddbe96b7a5341ece92fc4465ab8 Mon Sep 17 00:00:00 2001
|
||||
From: Antony Riley <antony@cyberiantiger.org>
|
||||
Date: Wed, 27 Mar 2013 01:41:54 +0200
|
||||
Subject: [PATCH] Close Unloaded Save Files
|
||||
|
@ -18,7 +18,7 @@ index 900ed68..829f4a3 100644
|
|||
public static synchronized RegionFile a(File file1, int i, int j) {
|
||||
File file2 = new File(file1, "region");
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
index 9f40d68..875f25f 100644
|
||||
index bb1bddf..f66f764 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
@@ -86,6 +86,8 @@ import net.minecraft.server.MinecraftServer;
|
||||
|
@ -62,5 +62,5 @@ index 9f40d68..875f25f 100644
|
|||
}
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 149cdfe128beb0df0d9055d33a40d3b7da5e179c Mon Sep 17 00:00:00 2001
|
||||
From 85469a82bd3aa027e89d9b03d6731193eeb238f7 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 19 May 2013 18:29:48 +1000
|
||||
Subject: [PATCH] Remove -o Option
|
||||
|
@ -19,5 +19,5 @@ index bb535c2..93968bd 100644
|
|||
}
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From f39835e2ec7023218ad9d8227c02045e1a3015fb Mon Sep 17 00:00:00 2001
|
||||
From 064f79546c3d9ed48f2535918baddf905fe22540 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 1 Jun 2013 16:34:38 +1000
|
||||
Subject: [PATCH] Recipe Deconstruction
|
||||
|
@ -67,5 +67,5 @@ index 0fab83c..21181fb 100644
|
|||
+ // Spigot end
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 0a51dd1733e0a307cf26bafd596a70e981004f79 Mon Sep 17 00:00:00 2001
|
||||
From 37cf2bb33b714e62f1221b6494352bff100c1627 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 2 Jun 2013 15:16:05 +1000
|
||||
Subject: [PATCH] Implement Arrow API
|
||||
|
@ -27,5 +27,5 @@ index 09e7223..8c8a173 100644
|
|||
|
||||
public Arrow.Spigot spigot()
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 4c545da88ebd04a32e7cbb0be787afcf2ac083ef Mon Sep 17 00:00:00 2001
|
||||
From c77ca033afa24023df24c824228bacfca7141f7e Mon Sep 17 00:00:00 2001
|
||||
From: erocs <github@erocs.org>
|
||||
Date: Sun, 8 Sep 2013 12:06:15 -0700
|
||||
Subject: [PATCH] Hopper Cooldowns
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/TileEntityHopper.java b/src/main/java/net/minecraft/server/TileEntityHopper.java
|
||||
index 3f1a910..d7a3178 100644
|
||||
index 48a882a..baa158b 100644
|
||||
--- a/src/main/java/net/minecraft/server/TileEntityHopper.java
|
||||
+++ b/src/main/java/net/minecraft/server/TileEntityHopper.java
|
||||
@@ -189,12 +189,18 @@ public class TileEntityHopper extends TileEntity implements IHopper {
|
||||
|
@ -81,5 +81,5 @@ index 6421bf2..827e6f9 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 596282d41a999f6c08fa984d44bcf12c2937c213 Mon Sep 17 00:00:00 2001
|
||||
From 296a8b176d18def1f52aec81873d7c68083d39fe Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Tue, 11 Jun 2013 11:54:32 +1000
|
||||
Subject: [PATCH] Prevent Shutdown Hang
|
||||
|
@ -6,7 +6,7 @@ Subject: [PATCH] Prevent Shutdown Hang
|
|||
Prevents server hanging if players disconnect during the shutdown sequence.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
index 7c01595..4977ea1 100644
|
||||
index 1dbce5c..2a15271 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerList.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
@@ -1152,8 +1152,15 @@ public abstract class PlayerList {
|
||||
|
@ -28,5 +28,5 @@ index 7c01595..4977ea1 100644
|
|||
}
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 45421c501fe3ac16483fde71a8143794b8e147e2 Mon Sep 17 00:00:00 2001
|
||||
From 6283d084b9bd9e85048c6c422bff8533cdc6c44f Mon Sep 17 00:00:00 2001
|
||||
From: Andy Shulman <andy.shulman@hotmail.com>
|
||||
Date: Mon, 15 Apr 2013 20:06:37 -0500
|
||||
Subject: [PATCH] Implement SpawnerSpawnEvent.
|
||||
|
@ -63,7 +63,7 @@ index 06f9b1f..b97ac4b 100644
|
|||
|
||||
return entity;
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
|
||||
index 4cc25f2..e1e8361 100644
|
||||
index 30f31d1..22e2879 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
|
||||
@@ -36,6 +36,7 @@ import org.bukkit.Statistic.Type;
|
||||
|
@ -98,5 +98,5 @@ index 4cc25f2..e1e8361 100644
|
|||
*/
|
||||
public static PlayerBucketEmptyEvent callPlayerBucketEmptyEvent(EntityHuman who, int clickedX, int clickedY, int clickedZ, int clickedFace, ItemStack itemInHand) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 6a08b304c2ce4f533360478508980e91c3747b1e Mon Sep 17 00:00:00 2001
|
||||
From c13065ba778749814980d29d17c6804df9d6d368 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 15 Jun 2013 21:34:48 +1000
|
||||
Subject: [PATCH] Firework Meta Crash Fix
|
||||
|
@ -27,5 +27,5 @@ index 0f7da6b..5a409ae 100644
|
|||
}
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
From 42581137b2b8313804bd958c5166e9add3dff9fe Mon Sep 17 00:00:00 2001
|
||||
From 43b719a4545c2790eae1ac8b636f1d1042445fcc Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Fri, 21 Jun 2013 18:01:29 +1000
|
||||
Subject: [PATCH] Allow Disabling of Command Logging
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index f34fd03..7826074 100644
|
||||
index 5cde08f..4d7f5ad 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -951,7 +951,12 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
@@ -953,7 +953,12 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
}
|
||||
|
||||
try {
|
||||
|
@ -38,5 +38,5 @@ index 98fcb47..afd6b56 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From aa2ab38ef8d7f09799c720331bc3d0daf0495848 Mon Sep 17 00:00:00 2001
|
||||
From 2b8d8eaeba2e003f64678371bfd50d10cdef2634 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Fri, 21 Jun 2013 18:05:54 +1000
|
||||
Subject: [PATCH] Allow Disabling of Command TabComplete
|
||||
|
@ -49,5 +49,5 @@ index afd6b56..20634f1 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.5.2.msysgit.0
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 016f8aa9bddc612afe059039bca58912be065b64 Mon Sep 17 00:00:00 2001
|
||||
From c036ffdf17e499b702947010eaeaeaa0e1b8f2f9 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Fri, 21 Jun 2013 19:21:58 +1000
|
||||
Subject: [PATCH] Configurable Messages
|
||||
|
@ -103,5 +103,5 @@ index 20634f1..efcd193 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.5.2.msysgit.0
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From a90c3b1287735f4a5b27480ef39d28fa1733ccb2 Mon Sep 17 00:00:00 2001
|
||||
From 3cafcf93720a49cb8ef7e81c7061f2b2aace758f Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 22 Jun 2013 16:12:02 +1000
|
||||
Subject: [PATCH] Allow Disabling of Random Lighting Updates
|
||||
|
@ -18,10 +18,10 @@ index 0110120..96974b4 100644
|
|||
}
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 7d9d325..96b5bc7 100644
|
||||
index 508c059..932686f 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -2036,7 +2036,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -2023,7 +2023,7 @@ public abstract class World implements IBlockAccess {
|
||||
}
|
||||
|
||||
this.methodProfiler.a("playerCheckLight");
|
||||
|
@ -47,5 +47,5 @@ index 827e6f9..adebd03 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 051f0b21d9cdee96e11e7db6bb2577ef59bc69a9 Mon Sep 17 00:00:00 2001
|
||||
From fb9bbf03b51a2dd8d11d94ffb61ae53668b7d3d7 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Thu, 27 Jun 2013 17:26:09 +1000
|
||||
Subject: [PATCH] Properly Close Inventories
|
||||
|
@ -42,7 +42,7 @@ index 96974b4..3fc83e5 100644
|
|||
// Do not pass along players, as doing so can get them stuck outside of time.
|
||||
// (which for example disables inventory icon updates and prevents block breaking)
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityMinecartContainer.java b/src/main/java/net/minecraft/server/EntityMinecartContainer.java
|
||||
index 9f3f196..439cf2e 100644
|
||||
index b599eeb..2065e5a 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityMinecartContainer.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityMinecartContainer.java
|
||||
@@ -149,6 +149,12 @@ public abstract class EntityMinecartContainer extends EntityMinecartAbstract imp
|
||||
|
@ -59,5 +59,5 @@ index 9f3f196..439cf2e 100644
|
|||
super.b(i);
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
From b2830d7802cb73473523fea60775ba9dc70bfd4b Mon Sep 17 00:00:00 2001
|
||||
From 2897b0b82547e474f84cd331f3485ee9c509881f Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Fri, 28 Jun 2013 19:52:54 +1000
|
||||
Subject: [PATCH] Disallow Interaction With Self
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 7826074..917a587 100644
|
||||
index 4d7f5ad..07658df 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -1058,6 +1058,13 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
@@ -1060,6 +1060,13 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
if (this.player.dead) return; // CraftBukkit
|
||||
WorldServer worldserver = this.minecraftServer.getWorldServer(this.player.dimension);
|
||||
Entity entity = packetplayinuseentity.a((World) worldserver);
|
||||
|
@ -23,5 +23,5 @@ index 7826074..917a587 100644
|
|||
this.player.v();
|
||||
if (entity != null) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
From 2051efdcbc0f117371f6d034dfbf36096ef9b4df Mon Sep 17 00:00:00 2001
|
||||
From: Andre LeBlanc <andre@norcode.com>
|
||||
Date: Sat, 6 Apr 2013 12:00:31 -0400
|
||||
Subject: [PATCH] Make AnvilInventory.getItem() use both containers. Fixes
|
||||
BUKKIT-2788
|
||||
|
||||
The AnvilInventory reports its size as the sum of the ingredient and
|
||||
result inventories, but when trying to access the slots, only the ingredient
|
||||
inventory is used, leading to an ArrayIndexOutOfBounds exception.
|
||||
|
||||
This change overrides getItem(I) and setItem(I) to use both inventories,
|
||||
with the slot number adjusted based on their size.
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryAnvil.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryAnvil.java
|
||||
index a91d81a..46a1d38 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryAnvil.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryAnvil.java
|
||||
@@ -1,7 +1,9 @@
|
||||
package org.bukkit.craftbukkit.inventory;
|
||||
|
||||
import net.minecraft.server.IInventory;
|
||||
+
|
||||
import org.bukkit.inventory.AnvilInventory;
|
||||
+import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class CraftInventoryAnvil extends CraftInventory implements AnvilInventory {
|
||||
private final IInventory resultInventory;
|
||||
@@ -20,6 +22,26 @@ public class CraftInventoryAnvil extends CraftInventory implements AnvilInventor
|
||||
}
|
||||
|
||||
@Override
|
||||
+ public ItemStack getItem(int slot) {
|
||||
+ if (slot < getIngredientsInventory().getSize()) {
|
||||
+ net.minecraft.server.ItemStack item = getIngredientsInventory().getItem(slot);
|
||||
+ return item == null ? null : CraftItemStack.asCraftMirror(item);
|
||||
+ } else {
|
||||
+ net.minecraft.server.ItemStack item = getResultInventory().getItem(slot - getIngredientsInventory().getSize());
|
||||
+ return item == null ? null : CraftItemStack.asCraftMirror(item);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public void setItem(int index, ItemStack item) {
|
||||
+ if (index < getIngredientsInventory().getSize()) {
|
||||
+ getIngredientsInventory().setItem(index, (item == null ? null : CraftItemStack.asNMSCopy(item)));
|
||||
+ } else {
|
||||
+ getResultInventory().setItem((index - getIngredientsInventory().getSize()), (item == null ? null : CraftItemStack.asNMSCopy(item)));
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
public int getSize() {
|
||||
return getResultInventory().getSize() + getIngredientsInventory().getSize();
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From a5924094af40aee70d68f5e69922abc147411028 Mon Sep 17 00:00:00 2001
|
||||
From d6302f62b973c46d0f259f951e2dd9c9785de896 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Tue, 2 Jul 2013 09:07:54 +1000
|
||||
Subject: [PATCH] Lower Chunk Compression
|
||||
|
@ -32,5 +32,5 @@ index 3eac231..bf3a139 100644
|
|||
};
|
||||
// CraftBukkit end
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From ae439b64018d26625c4698357ea2ea8a3bd81cc2 Mon Sep 17 00:00:00 2001
|
||||
From c5b92b3fdedecb5f1d46470d621f15e38c49608e Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Tue, 2 Jul 2013 20:32:49 +1000
|
||||
Subject: [PATCH] Entity Mount and Dismount Events
|
|
@ -1,4 +1,4 @@
|
|||
From a6a707a02e69a180f31f1eaf005a5bf9e610e43c Mon Sep 17 00:00:00 2001
|
||||
From b3497c286e366bd54813d98a74c2041fe298fb28 Mon Sep 17 00:00:00 2001
|
||||
From: Alex Ciuba <alexciuba@gmail.com>
|
||||
Date: Tue, 11 Jun 2013 15:23:03 -0400
|
||||
Subject: [PATCH] Prevent Ghost Players Caused by Plugins
|
||||
|
@ -22,5 +22,5 @@ index e156a5a..4c5d77e 100644
|
|||
location = respawnEvent.getRespawnLocation();
|
||||
entityplayer.reset();
|
||||
--
|
||||
1.8.5.2.msysgit.0
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 9d5f0caeda6236c3483e0b8338bc89d43acc48bd Mon Sep 17 00:00:00 2001
|
||||
From 9d2e1c3bc82d814be967daa62994dcc080384945 Mon Sep 17 00:00:00 2001
|
||||
From: Ammar Askar <ammar@ammaraskar.com>
|
||||
Date: Tue, 16 Jul 2013 03:32:32 +0500
|
||||
Subject: [PATCH] Entity ticking chunk caching
|
||||
|
@ -6,10 +6,10 @@ Subject: [PATCH] Entity ticking chunk caching
|
|||
Cache known loaded chunks so we avoid making a potentially expensive contains call for every single entity in exchange for some simple arithmetic. Best case scenario, this cuts down contains call to once per chunk, worst case it adds on some simple arithmetic operations
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 96b5bc7..b0b9757 100644
|
||||
index 932686f..2f7be96 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -1186,6 +1186,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1173,6 +1173,7 @@ public abstract class World implements IBlockAccess {
|
||||
CrashReport crashreport;
|
||||
CrashReportSystemDetails crashreportsystemdetails;
|
||||
|
||||
|
@ -17,7 +17,7 @@ index 96b5bc7..b0b9757 100644
|
|||
for (i = 0; i < this.i.size(); ++i) {
|
||||
entity = (Entity) this.i.get(i);
|
||||
// CraftBukkit start - Fixed an NPE, don't process entities in chunks queued for unload
|
||||
@@ -1194,10 +1195,15 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1181,10 +1182,15 @@ public abstract class World implements IBlockAccess {
|
||||
}
|
||||
|
||||
ChunkProviderServer chunkProviderServer = ((WorldServer) this).chunkProviderServer;
|
||||
|
@ -35,7 +35,7 @@ index 96b5bc7..b0b9757 100644
|
|||
|
||||
try {
|
||||
++entity.ticksLived;
|
||||
@@ -1218,6 +1224,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1205,6 +1211,7 @@ public abstract class World implements IBlockAccess {
|
||||
this.i.remove(i--);
|
||||
}
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ index 96b5bc7..b0b9757 100644
|
|||
|
||||
this.methodProfiler.c("remove");
|
||||
this.entityList.removeAll(this.f);
|
||||
@@ -1249,10 +1256,15 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1236,10 +1243,15 @@ public abstract class World implements IBlockAccess {
|
||||
|
||||
// Don't tick entities in chunks queued for unload
|
||||
ChunkProviderServer chunkProviderServer = ((WorldServer) this).chunkProviderServer;
|
||||
|
@ -62,5 +62,5 @@ index 96b5bc7..b0b9757 100644
|
|||
if (entity.vehicle != null) {
|
||||
if (!entity.vehicle.dead && entity.vehicle.passenger == entity) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 9cc0ddfa178ec0b0aa06f17da9708cefbffd318a Mon Sep 17 00:00:00 2001
|
||||
From 6332634076b09d18af7ee9fc6deeffd1de566f58 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 3 Aug 2013 19:02:59 +1000
|
||||
Subject: [PATCH] Plug World Unload Memory Leak
|
||||
|
@ -18,5 +18,5 @@ index 8e01414..e0469bb 100644
|
|||
private boolean a(World world, int i, int j, int k, boolean flag) {
|
||||
if (!b.containsKey(world)) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 4063f09d6a735da6f77eb959f5fac2dfafad657c Mon Sep 17 00:00:00 2001
|
||||
From 35608171284d5462cc9a5e0cceb58c311bdc6bbb Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 3 Aug 2013 19:27:07 +1000
|
||||
Subject: [PATCH] Player Collision API
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
index e2e7b9c..5b50df0 100644
|
||||
index 1fc7a22..d091bcf 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
@@ -430,7 +430,7 @@ public abstract class EntityHuman extends EntityLiving implements ICommandListen
|
||||
|
@ -31,7 +31,7 @@ index 6c77253..4c3fd8a 100644
|
|||
Entity entity = (Entity) list.get(i);
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
index 9b80aef..b519903 100644
|
||||
index 3a0d679..367472d 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
@@ -63,6 +63,21 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
|
@ -57,7 +57,7 @@ index 9b80aef..b519903 100644
|
|||
public EntityPlayer(MinecraftServer minecraftserver, WorldServer worldserver, GameProfile gameprofile, PlayerInteractManager playerinteractmanager) {
|
||||
super(worldserver, gameprofile);
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index d6bfa0d..deb4009 100644
|
||||
index fd1c137..059438d 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1290,6 +1290,19 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -81,5 +81,5 @@ index d6bfa0d..deb4009 100644
|
|||
|
||||
public Player.Spigot spigot()
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From b61831e527703aa087de238c808ff76ec67591dd Mon Sep 17 00:00:00 2001
|
||||
From 180007c871b7fa8a181cadabed4bbc09a26cd747 Mon Sep 17 00:00:00 2001
|
||||
From: agentk20 <agentkid20@gmail.com>
|
||||
Date: Sat, 3 Aug 2013 19:28:48 +1000
|
||||
Subject: [PATCH] Fully Disable Snooper When Not Required
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index d7b93a3..35453be 100644
|
||||
index 21cf068..007fb86 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
@@ -583,11 +583,11 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
|
||||
|
@ -23,5 +23,5 @@ index d7b93a3..35453be 100644
|
|||
}
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 1f9256b71314d22062c5a8724203cd17bfb120e1 Mon Sep 17 00:00:00 2001
|
||||
From 957a9bcb2fa0c3b06c2cb98c82ca67ff66bff4a2 Mon Sep 17 00:00:00 2001
|
||||
From: DerFlash <bte@freenet.de>
|
||||
Date: Sat, 3 Aug 2013 19:53:48 +1000
|
||||
Subject: [PATCH] Add Getter for Entity Invulnerability
|
||||
|
@ -21,5 +21,5 @@ index e026c1f..96d763b 100644
|
|||
|
||||
public Spigot spigot()
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 14c71f7805bbcf37f398eb162f562533fe5952ee Mon Sep 17 00:00:00 2001
|
||||
From b8af49b4889a987e67cffffef28abb55fe9bb5b8 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Mon, 5 Aug 2013 20:17:20 +1000
|
||||
Subject: [PATCH] Cap Minimum Player Speed
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index deb4009..9eb8e19 100644
|
||||
index 059438d..207ab87 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1162,7 +1162,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -27,5 +27,5 @@ index deb4009..9eb8e19 100644
|
|||
}
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 8d33ea18c42f4dfcee84dfb398bdabb701cc1078 Mon Sep 17 00:00:00 2001
|
||||
From 7eb7f425e6d81bd6b1bc30b4d9fbf4d1e87815ff Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 14 Sep 2013 10:16:38 +1000
|
||||
Subject: [PATCH] Update Inventory and Health for PlayerConsumeItemEvent
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
index 5b50df0..bc55fcc 100644
|
||||
index d091bcf..c3a0dc3 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
@@ -277,6 +277,10 @@ public abstract class EntityHuman extends EntityLiving implements ICommandListen
|
||||
|
@ -20,5 +20,5 @@ index 5b50df0..bc55fcc 100644
|
|||
return;
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From a8d499d7d67e9545e96be449ba713181cf683518 Mon Sep 17 00:00:00 2001
|
||||
From a635de6cac4afd3ac997246944eb991f8abf543e Mon Sep 17 00:00:00 2001
|
||||
From: BlackHole <black-hole@live.com>
|
||||
Date: Tue, 16 Jul 2013 22:34:50 +0200
|
||||
Subject: [PATCH] Call EntityChangeBlockEvent for Fire Arrows hitting TNT
|
||||
|
@ -31,5 +31,5 @@ index e943676..7320a88 100644
|
|||
world.setAir(i, j, k);
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From e5384725d1e52d3d48985d6398950f1300573b4a Mon Sep 17 00:00:00 2001
|
||||
From 973a2a6dd2f6c8dc8480e61b6dd915e112e593d0 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 21 Sep 2013 12:33:09 +1000
|
||||
Subject: [PATCH] Allow Disabling of 1.6.3 Structure Saving
|
||||
|
@ -46,5 +46,5 @@ index adebd03..9586c44 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 2558f8f50bdfe2c9d8fee5ad9629a2af43379712 Mon Sep 17 00:00:00 2001
|
||||
From 6a3fa409b3105217da2dbdba5aad0638d1940363 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 22 Sep 2013 19:10:53 +1000
|
||||
Subject: [PATCH] Item Despawn Rate
|
||||
|
@ -34,5 +34,5 @@ index 9586c44..82d59e7 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From e84d44cc072262050be162110feb55a1010954e0 Mon Sep 17 00:00:00 2001
|
||||
From 1f05592622009732f3d63f6b61ed03185e8aa895 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 6 Oct 2013 17:36:28 +1100
|
||||
Subject: [PATCH] Don't Special Case X Move Value
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 917a587..c1ddb33 100644
|
||||
index 07658df..d90d332 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -106,6 +106,7 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
|
@ -45,5 +45,5 @@ index 917a587..c1ddb33 100644
|
|||
this.server.getPluginManager().callEvent(event);
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 05861ecb4bd0b4b22a3233c9907e885b22b36a1b Mon Sep 17 00:00:00 2001
|
||||
From 87430759742330ab89539a453b5d1a77afaa46b7 Mon Sep 17 00:00:00 2001
|
||||
From: ninja- <xninja@openmailbox.org>
|
||||
Date: Tue, 8 Oct 2013 14:34:49 +0200
|
||||
Subject: [PATCH] Implement respawn API.
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index 9eb8e19..5d15396 100644
|
||||
index 207ab87..a63db3b 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1303,6 +1303,15 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -25,5 +25,5 @@ index 9eb8e19..5d15396 100644
|
|||
|
||||
public Player.Spigot spigot()
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From d56362c6b3f949b07066d5b75c0d89b7645a7809 Mon Sep 17 00:00:00 2001
|
||||
From 5e1c8021be395a605c3d504b0d66af3eb5852add Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Wed, 9 Oct 2013 18:20:05 +1100
|
||||
Subject: [PATCH] Fix BrewingStands Removing NBT / Potions
|
||||
|
@ -24,5 +24,5 @@ index 3287d77..eabea5a 100644
|
|||
}
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From ad6f0ad1cc97e082ab11f471774a88a4dd7c7370 Mon Sep 17 00:00:00 2001
|
||||
From b483d47362aa2037c79bec0b19075964c33ac0a2 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Mon, 14 Oct 2013 19:20:10 +1100
|
||||
Subject: [PATCH] Arrow Despawn Rate
|
||||
|
@ -34,5 +34,5 @@ index 82d59e7..2ec047c 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 781e41cf5b3935d4d4b314f7baf475f3cf81056a Mon Sep 17 00:00:00 2001
|
||||
From d25f0c8532d6d79b0166abbc9aac5ecf7f1a911f Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 1 Dec 2013 17:52:14 +1100
|
||||
Subject: [PATCH] Fix packed ice generation
|
||||
|
@ -34,5 +34,5 @@ index c0db754..a830758 100644
|
|||
--k2;
|
||||
if (k2 <= 0) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 8e1e8ca5baa8180ccc679d3d72776f3f94061c40 Mon Sep 17 00:00:00 2001
|
||||
From ae16eaf1009911e4f515a72b37cbb2bf55a32a0c Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 23 Feb 2013 12:33:20 +1100
|
||||
Subject: [PATCH] Watchdog Thread.
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index 35453be..e78d8f3 100644
|
||||
index 007fb86..51f1761 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
@@ -498,6 +498,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
|
||||
|
@ -287,5 +287,5 @@ index 0000000..de08ad6
|
|||
+ }
|
||||
+}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 6c75964a5839dcc79ee1c6a76b5d76b8fd01a265 Mon Sep 17 00:00:00 2001
|
||||
From e04497eb7fff37623d568f75cafa5881028f9da4 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Tue, 3 Dec 2013 11:07:48 +1100
|
||||
Subject: [PATCH] Clear Flower Pot on Drop
|
||||
|
@ -17,5 +17,5 @@ index ca6f4f0..0fa90b4 100644
|
|||
|
||||
super.remove(world, i, j, k, block, l);
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 5f093f85ed2c1d9da20455743d3ccb08915c4a3c Mon Sep 17 00:00:00 2001
|
||||
From 97d4b54cc547e0c2efcfdf583831c8d7c71e4c9c Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Mon, 2 Dec 2013 23:42:09 +0000
|
||||
Subject: [PATCH] Fix some chunks not being sent to the client
|
||||
|
@ -26,5 +26,5 @@ index 3fc83e5..3712009 100644
|
|||
|
||||
public ChunkCoordIntPair l() {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 3d991969a4a2a4490524309060e287d6ac1b7fb4 Mon Sep 17 00:00:00 2001
|
||||
From 974ada4dd1a0edf87f0880811249d3db38a2fa30 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Thu, 5 Dec 2013 13:55:53 +1100
|
||||
Subject: [PATCH] Fix Broken Async Chat
|
||||
|
@ -36,5 +36,5 @@ index 604a7af..d419f0f 100644
|
|||
}
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 63e6a0b006cd2d0e08daaffb2d8227c26d464ead Mon Sep 17 00:00:00 2001
|
||||
From a55476375d2ede32ed8c70f6d84e769710e91770 Mon Sep 17 00:00:00 2001
|
||||
From: ItsHarry <info@itsjerryandharry.com>
|
||||
Date: Thu, 5 Dec 2013 21:58:11 +0100
|
||||
Subject: [PATCH] Allow Teleportation of Vehicles and Passengers
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index 5d15396..d7934b4 100644
|
||||
index a63db3b..317e14f 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -459,9 +459,11 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -36,5 +36,5 @@ index 5d15396..d7934b4 100644
|
|||
// Update the From Location
|
||||
from = event.getFrom();
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
From 302c780a23bf59fb71c3f57b05adafcfafbf5d12 Mon Sep 17 00:00:00 2001
|
||||
From f50f2024c1d5ed2fa1a1e3bbb5d4387f4662df84 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 8 Dec 2013 16:52:42 +1100
|
||||
Subject: [PATCH] Remove OS X Special Chars from Signs
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index c1ddb33..9f3b1a8 100644
|
||||
index d90d332..7264dc5 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -1584,6 +1584,7 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
@@ -1586,6 +1586,7 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
|
||||
for (j = 0; j < 4; ++j) {
|
||||
boolean flag = true;
|
||||
|
@ -17,5 +17,5 @@ index c1ddb33..9f3b1a8 100644
|
|||
if (packetplayinupdatesign.f()[j].length() > 15) {
|
||||
flag = false;
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From c44d5b44a0b2f9a50a266994f0642758bd080c21 Mon Sep 17 00:00:00 2001
|
||||
From 2faa824fc272a0284e67d48e04a56e824e7de987 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Thu, 16 May 2013 18:51:05 +1000
|
||||
Subject: [PATCH] Orebfuscator
|
||||
|
@ -115,10 +115,10 @@ index 2db45ad..97fe53c 100644
|
|||
}
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index b0b9757..98900ed 100644
|
||||
index 2f7be96..7485d07 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -471,6 +471,7 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -458,6 +458,7 @@ public abstract class World implements IBlockAccess {
|
||||
this.e(i, j + 1, k, block);
|
||||
this.e(i, j, k - 1, block);
|
||||
this.e(i, j, k + 1, block);
|
||||
|
@ -393,5 +393,5 @@ index 2ec047c..2c0501d 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From fa836fb4ebe6b6827b60b56a600dd714f823dd08 Mon Sep 17 00:00:00 2001
|
||||
From 0b941f57067c60c8c616fd9e1ad80e6e68cc392e Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Fri, 13 Dec 2013 11:45:47 +1100
|
||||
Subject: [PATCH] Optimize DataWatcher
|
||||
|
@ -130,5 +130,5 @@ index 90a2a80..cca6bd9 100644
|
|||
}
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 462c1a850111c2cd6cf0c1882938755fbcd0733b Mon Sep 17 00:00:00 2001
|
||||
From ae5b7c2d6526c34a23893b0da0ce43e4caf68f80 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Wed, 18 Dec 2013 13:32:10 +1100
|
||||
Subject: [PATCH] Fire PreLogin Events in Offline Mode
|
||||
|
@ -155,5 +155,5 @@ index 6b91be7..1b2620c 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From e676d1bb122f90e416e214117e3a4bcc5ade4fb6 Mon Sep 17 00:00:00 2001
|
||||
From 48bc926d4d3fdac6b340fc955895128a66e9e196 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 1 Dec 2013 18:18:41 +1100
|
||||
Subject: [PATCH] BungeeCord Support
|
||||
|
@ -156,7 +156,7 @@ index 4c5d77e..cd9a8f5 100644
|
|||
|
||||
if (this.j.isBanned(gameprofile) && !this.j.get(gameprofile).e()) { // Should be hasExpired
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index b4488f6..27e6fb9 100644
|
||||
index 317e14f..dd80ab7 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1299,6 +1299,12 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -192,5 +192,5 @@ index 2b499fe..8bfffa5 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.5.2.msysgit.0
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 3952f7c334513ce3a02d4d230327bd165dfdab49 Mon Sep 17 00:00:00 2001
|
||||
From 0550daf8c61dd5b0710f91a74b179eba18499cf1 Mon Sep 17 00:00:00 2001
|
||||
From: Dylan Xaldin <Puremin0rez515@gmail.com>
|
||||
Date: Thu, 12 Dec 2013 18:05:03 -0600
|
||||
Subject: [PATCH] Allow Disabling Zombie Villager Aggression
|
|
@ -1,4 +1,4 @@
|
|||
From fa5a84e48c0ea5dd2a391bf8c47dfcf0d93d4a1d Mon Sep 17 00:00:00 2001
|
||||
From c2933cd397bee0d3f35cd0067caace8d9bc0121a Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Fri, 13 Dec 2013 11:58:58 +1100
|
||||
Subject: [PATCH] Configurable Amount of Netty Threads
|
||||
|
@ -6,7 +6,7 @@ Subject: [PATCH] Configurable Amount of Netty Threads
|
|||
This brings back the option that the Spigot version of netty saw. By default Netty will try and use cores*2 threads, however if running multiple servers on the same machine, this can be too many threads. Additionally some people have 16 core servers. If 32 Netty threads are allowed in this setup, then the lock contention, and thus blocking between threads becomes much greater, leading to decreased performance.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index e78d8f3..c3011fd 100644
|
||||
index 51f1761..64fa9ab 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
@@ -54,7 +54,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
|
||||
|
@ -53,5 +53,5 @@ index 8bfffa5..b3278fd 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 0f18693ff71bcfa53e5a046c0bd4617836ebc5ed Mon Sep 17 00:00:00 2001
|
||||
From b0a23b8b4f4255059c9de756f4b104e9c1b94ea1 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Fri, 13 Dec 2013 15:21:02 +1100
|
||||
Subject: [PATCH] Prevent Mineshaft Saving
|
||||
|
@ -18,5 +18,5 @@ index 4d336d8..f835b01 100644
|
|||
this.e = (PersistentStructure) world.a(PersistentStructure.class, this.a());
|
||||
} else
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From be9a009c45b548f6f8b7a14d0cce4da369cac035 Mon Sep 17 00:00:00 2001
|
||||
From f5276f2f5fdec5c58cf8696f342919351deefa28 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Wed, 18 Dec 2013 13:39:14 +1100
|
||||
Subject: [PATCH] Log Cause of Unexpected Exceptions
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index c3011fd..66bea38 100644
|
||||
index 64fa9ab..ab29ad7 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
@@ -479,6 +479,12 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
|
||||
|
@ -22,5 +22,5 @@ index c3011fd..66bea38 100644
|
|||
|
||||
if (throwable instanceof ReportedException) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 0952167f4e9323fbba6a59b610251bd01c9b0959 Mon Sep 17 00:00:00 2001
|
||||
From 58a7ca9681577897b5d7ccdb9ae8f6db43c027cf Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Fri, 20 Dec 2013 21:36:06 +0000
|
||||
Subject: [PATCH] Particle API
|
|
@ -1,4 +1,4 @@
|
|||
From d982b6075b81dd4c7416b7a26d47c4f034e67f7f Mon Sep 17 00:00:00 2001
|
||||
From c60fd58c9b3b98dd532f549e698f700fe5d5104e Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Sun, 5 Jan 2014 09:35:01 +1100
|
||||
Subject: [PATCH] Fix Biome Decoration Crashes
|
||||
|
@ -107,5 +107,5 @@ index b048d6c..962d719 100644
|
|||
+ // Spigot End
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From d2dd0fc6612d7c94a574ba9bfca8616b5ed6b6a2 Mon Sep 17 00:00:00 2001
|
||||
From 6a28d40d8fb999253b775d2bda9868db9652e555 Mon Sep 17 00:00:00 2001
|
||||
From: DerFlash <bte@freenet.de>
|
||||
Date: Tue, 9 Jul 2013 00:11:12 +0200
|
||||
Subject: [PATCH] Save ticks lived to nbttag
|
|
@ -1,14 +1,14 @@
|
|||
From 806a7547a99fbb5c010fbe9fd8cb4b08c10688c1 Mon Sep 17 00:00:00 2001
|
||||
From 28644f9ab3b3cd71aad60850537ec7248db6e5f6 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Tue, 11 Jun 2013 12:17:37 +1000
|
||||
Subject: [PATCH] More Efficient GetCubes
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 98900ed..c0a4bea 100644
|
||||
index 7485d07..aa3547e 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -1051,23 +1051,42 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -1038,23 +1038,42 @@ public abstract class World implements IBlockAccess {
|
||||
int i1 = MathHelper.floor(axisalignedbb.c);
|
||||
int j1 = MathHelper.floor(axisalignedbb.f + 1.0D);
|
||||
|
||||
|
@ -64,5 +64,5 @@ index 98900ed..c0a4bea 100644
|
|||
double d0 = 0.25D;
|
||||
List list = this.getEntities(entity, axisalignedbb.grow(d0, d0, d0));
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 78b6f43b0063ceed96a513e5a861b7a59f76bdbc Mon Sep 17 00:00:00 2001
|
||||
From 73c3802943f52d19b4ea8ec90fe6d54d0dc79a21 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Sun, 2 Feb 2014 16:55:46 +0000
|
||||
Subject: [PATCH] Add Option to Nerf Mobs from Spawner's
|
|
@ -1,4 +1,4 @@
|
|||
From ef83894b43dcbbe290db12b9f6b6e523ce67cc7e Mon Sep 17 00:00:00 2001
|
||||
From da196639f65ce4d523caef44dbb560ae6a74d9a0 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Mon, 23 Dec 2013 14:07:41 +1100
|
||||
Subject: [PATCH] Warn if PermGen may be insufficient
|
||||
|
@ -32,5 +32,5 @@ index 8d127fb..008e037 100644
|
|||
MinecraftServer.main(options);
|
||||
} catch (Throwable t) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From d94e594f5bce82ad3eda6d4771dee9a58e502039 Mon Sep 17 00:00:00 2001
|
||||
From d8306d27ef753a672a0311b751ee53e96ebbd090 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Mon, 23 Dec 2013 15:57:57 +1100
|
||||
Subject: [PATCH] Disable Connected Check on setScoreboard
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index 5de0000..f8f1a90 100644
|
||||
index 4d4516f..10e8d03 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1225,7 +1225,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -18,5 +18,5 @@ index 5de0000..f8f1a90 100644
|
|||
|
||||
this.server.getScoreboardManager().setPlayerBoard(this, scoreboard);
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 5c1b57a167f53ec9d75190e48fe075bf40abb3da Mon Sep 17 00:00:00 2001
|
||||
From b8703401078ff70ff96eff3d9f79c1eb254272ca Mon Sep 17 00:00:00 2001
|
||||
From: slide23 <me@slide.ws>
|
||||
Date: Fri, 20 Dec 2013 20:15:33 -0600
|
||||
Subject: [PATCH] Add Late Bind Option
|
||||
|
@ -6,7 +6,7 @@ Subject: [PATCH] Add Late Bind Option
|
|||
Add late-bind config option to delay binding until loading is done.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/DedicatedServer.java b/src/main/java/net/minecraft/server/DedicatedServer.java
|
||||
index 74e28cc..befcdbd 100644
|
||||
index 00f9b89..dc9625b 100644
|
||||
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
|
||||
@@ -119,6 +119,7 @@ public class DedicatedServer extends MinecraftServer implements IMinecraftServer
|
||||
|
@ -59,5 +59,5 @@ index b3278fd..af73544 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 1587cd387839a5a012c17ff8c6e3a2fe1d084219 Mon Sep 17 00:00:00 2001
|
||||
From 16561bbd9dae7bc87542e67953ced80164fc7f9c Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Tue, 7 Jan 2014 15:56:26 +0000
|
||||
Subject: [PATCH] Allow statistics to be disabled/forced
|
||||
|
@ -90,5 +90,5 @@ index af73544..54d9117 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 3ecc0f61ac0a62c8bb88ee6035b9b2c6fb873a45 Mon Sep 17 00:00:00 2001
|
||||
From 151a7a8ee2cd7d04da98472223bd9264df5d6067 Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Thu, 9 Jan 2014 14:19:12 +0000
|
||||
Subject: [PATCH] Fix anvil collisions
|
||||
|
@ -25,5 +25,5 @@ index 9e1ce2f..1fa14c5 100644
|
|||
return false;
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 710037cf99f0978b5349dcf1c1daf673030406ec Mon Sep 17 00:00:00 2001
|
||||
From 8d3c0de3c0e455a06c338d75405d6549603063f7 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Fri, 10 Jan 2014 15:15:50 +1100
|
||||
Subject: [PATCH] Fix ItemStack Unbreakable Code
|
||||
|
@ -24,5 +24,5 @@ index cc18816..a535479 100644
|
|||
|
||||
public boolean usesData() {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,117 +0,0 @@
|
|||
From eb1838a1a4497940d2b6ea035eebddb7e164ac4b Mon Sep 17 00:00:00 2001
|
||||
From: bloodshot <jdroque@gmail.com>
|
||||
Date: Mon, 6 Jan 2014 16:29:51 -0500
|
||||
Subject: [PATCH] Update Chest Animation when Cancelling Event
|
||||
|
||||
Update chest animation after cancelling InventoryOpenEvent. Fixes BUKKIT-1440
|
||||
|
||||
Currently if a plugin cancels an InventoryOpenEvent for vanilla chests,
|
||||
the chest animation for clients is stuck in the open state since
|
||||
IInventory's closeChest method is never called. To fix the issue, closeChest
|
||||
is called before exiting the display GUI method.
|
||||
More info can be found here
|
||||
https://bukkit.atlassian.net/browse/BUKKIT-1440
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
index b519903..9411132 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
@@ -634,7 +634,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
|
||||
// CraftBukkit start - Inventory open hook
|
||||
Container container = CraftEventFactory.callInventoryOpenEvent(this, new ContainerChest(this.inventory, iinventory));
|
||||
- if(container == null) return;
|
||||
+ if(container == null) {
|
||||
+ iinventory.l_();
|
||||
+ return;
|
||||
+ }
|
||||
// CraftBukkit end
|
||||
|
||||
this.nextContainerCounter();
|
||||
@@ -647,7 +650,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
public void openHopper(TileEntityHopper tileentityhopper) {
|
||||
// CraftBukkit start - Inventory open hook
|
||||
Container container = CraftEventFactory.callInventoryOpenEvent(this, new ContainerHopper(this.inventory, tileentityhopper));
|
||||
- if(container == null) return;
|
||||
+ if(container == null) {
|
||||
+ tileentityhopper.l_();
|
||||
+ return;
|
||||
+ }
|
||||
// CraftBukkit end
|
||||
|
||||
this.nextContainerCounter();
|
||||
@@ -660,7 +666,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
public void openMinecartHopper(EntityMinecartHopper entityminecarthopper) {
|
||||
// CraftBukkit start - Inventory open hook
|
||||
Container container = CraftEventFactory.callInventoryOpenEvent(this, new ContainerHopper(this.inventory, entityminecarthopper));
|
||||
- if(container == null) return;
|
||||
+ if(container == null) {
|
||||
+ entityminecarthopper.l_();
|
||||
+ return;
|
||||
+ }
|
||||
// CraftBukkit end
|
||||
|
||||
this.nextContainerCounter();
|
||||
@@ -673,7 +682,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
public void openFurnace(TileEntityFurnace tileentityfurnace) {
|
||||
// CraftBukkit start - Inventory open hook
|
||||
Container container = CraftEventFactory.callInventoryOpenEvent(this, new ContainerFurnace(this.inventory, tileentityfurnace));
|
||||
- if(container == null) return;
|
||||
+ if(container == null) {
|
||||
+ tileentityfurnace.l_();
|
||||
+ return;
|
||||
+ }
|
||||
// CraftBukkit end
|
||||
|
||||
this.nextContainerCounter();
|
||||
@@ -686,7 +698,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
public void openDispenser(TileEntityDispenser tileentitydispenser) {
|
||||
// CraftBukkit start - Inventory open hook
|
||||
Container container = CraftEventFactory.callInventoryOpenEvent(this, new ContainerDispenser(this.inventory, tileentitydispenser));
|
||||
- if(container == null) return;
|
||||
+ if(container == null) {
|
||||
+ tileentitydispenser.l_();
|
||||
+ return;
|
||||
+ }
|
||||
// CraftBukkit end
|
||||
|
||||
this.nextContainerCounter();
|
||||
@@ -699,7 +714,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
public void openBrewingStand(TileEntityBrewingStand tileentitybrewingstand) {
|
||||
// CraftBukkit start - Inventory open hook
|
||||
Container container = CraftEventFactory.callInventoryOpenEvent(this, new ContainerBrewingStand(this.inventory, tileentitybrewingstand));
|
||||
- if(container == null) return;
|
||||
+ if(container == null) {
|
||||
+ tileentitybrewingstand.l_();
|
||||
+ return;
|
||||
+ }
|
||||
// CraftBukkit end
|
||||
|
||||
this.nextContainerCounter();
|
||||
@@ -712,7 +730,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
public void openBeacon(TileEntityBeacon tileentitybeacon) {
|
||||
// CraftBukkit start - Inventory open hook
|
||||
Container container = CraftEventFactory.callInventoryOpenEvent(this, new ContainerBeacon(this.inventory, tileentitybeacon));
|
||||
- if(container == null) return;
|
||||
+ if(container == null) {
|
||||
+ tileentitybeacon.l_();
|
||||
+ return;
|
||||
+ }
|
||||
// CraftBukkit end
|
||||
|
||||
this.nextContainerCounter();
|
||||
@@ -755,7 +776,10 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
public void openHorseInventory(EntityHorse entityhorse, IInventory iinventory) {
|
||||
// CraftBukkit start - Inventory open hook
|
||||
Container container = CraftEventFactory.callInventoryOpenEvent(this, new ContainerHorse(this.inventory, iinventory, entityhorse));
|
||||
- if(container == null) return;
|
||||
+ if(container == null) {
|
||||
+ iinventory.l_();
|
||||
+ return;
|
||||
+ }
|
||||
// CraftBukkit end
|
||||
|
||||
if (this.activeContainer != this.defaultContainer) {
|
||||
--
|
||||
1.8.3.2
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From ea8c941f26554452225f8cde07a42fe8c380db81 Mon Sep 17 00:00:00 2001
|
||||
From 36e78a435944de02330b78498e615855658554ab Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Sun, 12 Jan 2014 20:56:41 +1100
|
||||
Subject: [PATCH] Try and Debug Crash Reports Crashing
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index 66bea38..c052ff5 100644
|
||||
index ab29ad7..242b126 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
@@ -653,7 +653,13 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
|
||||
|
@ -37,5 +37,5 @@ index 66bea38..c052ff5 100644
|
|||
throw new ReportedException(crashreport);
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
From 822aeeaab3d8189633d98e963e05bd7d0a82eead Mon Sep 17 00:00:00 2001
|
||||
From: bloodshot <jdroque@gmail.com>
|
||||
Date: Mon, 6 Jan 2014 18:02:01 -0500
|
||||
Subject: [PATCH] Update Client's Hand when BlockPlaceEvent Cancelled
|
||||
|
||||
Send a Packet103SetSlot to client when a BlockPlaceEvent is cancelled.
|
||||
|
||||
Fixes BUKKIT-5284
|
||||
|
||||
Currently, whenever a player places a block in a protected area the
|
||||
equipped itemstack size on client is never updated properly since the
|
||||
client thinks the block was placed. The reason this happens is because
|
||||
ItemStack.matches returns true since the server does not decrement stack
|
||||
size if a BlockPlaceEvent is cancelled. This causes
|
||||
PlayerConnection.a(handlePlace) not to send the appropriate packet to
|
||||
client which causes the bug.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 9f3b1a8..629e360 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -639,7 +639,9 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
return;
|
||||
}
|
||||
|
||||
- this.player.playerInteractManager.interact(this.player, worldserver, itemstack, i, j, k, l, packetplayinblockplace.h(), packetplayinblockplace.i(), packetplayinblockplace.j());
|
||||
+ if (!this.player.playerInteractManager.interact(this.player, worldserver, itemstack, i, j, k, l, packetplayinblockplace.h(), packetplayinblockplace.i(), packetplayinblockplace.j())) {
|
||||
+ always = true; // force Packet103SetSlot to be sent to client to update ItemStack count
|
||||
+ }
|
||||
// CraftBukkit end
|
||||
|
||||
flag = true;
|
||||
--
|
||||
1.8.3.2
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From d6e55aba09bb3301d68ae726859c9d2ffd4c04b0 Mon Sep 17 00:00:00 2001
|
||||
From 43f8ffc1e273f54966c4e611a44aedb4293a5a56 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Sun, 12 Jan 2014 21:07:18 +1100
|
||||
Subject: [PATCH] Replace AutoSave Mechanism
|
||||
|
@ -6,7 +6,7 @@ Subject: [PATCH] Replace AutoSave Mechanism
|
|||
The problem here is that MinecraftServer.save(..), will attempt to sleep whilst all pending chunks are written to disk, however due to various and complicated bugs, it will wait for an incorrect amount of chunks, which may cause it to sleep for an overly long amount of time. Instead we will mimic the save-all command in its behaviour, which is both safe and performant.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index c052ff5..8738e28 100644
|
||||
index 242b126..b52c101 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
@@ -582,7 +582,16 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
|
||||
|
@ -28,5 +28,5 @@ index c052ff5..8738e28 100644
|
|||
}
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From b3bc94b822f4e83bd64473abb7e6bdd585e00da7 Mon Sep 17 00:00:00 2001
|
||||
From a8d96be1342208847066046da8804175a4f4925d Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Wed, 15 Jan 2014 21:52:47 +0000
|
||||
Subject: [PATCH] Block data values that crash the client
|
||||
|
@ -57,5 +57,5 @@ index 3712009..90f32ed 100644
|
|||
|
||||
if (tileentity != null) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 73f6d0da1a6427fb026cf6c1247dafb441cf5ae6 Mon Sep 17 00:00:00 2001
|
||||
From 6fae3f8da576d7edbd0b60c9e79a525788189590 Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Sat, 18 Jan 2014 14:27:03 +0000
|
||||
Subject: [PATCH] Support vanilla's direction tag on fireballs
|
||||
|
@ -32,5 +32,5 @@ index 0eecaad..b14c73e 100644
|
|||
this.die();
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 60d13067607d49b8e4b3709249f2bfb0ea81c5f2 Mon Sep 17 00:00:00 2001
|
||||
From 9be24c650e154b8e97d91c4f1fa380d34a4726b1 Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Sat, 18 Jan 2014 19:32:42 +0000
|
||||
Subject: [PATCH] Support non-prefixed URLs
|
|
@ -1,4 +1,4 @@
|
|||
From 1a8a248bbabf2f8d81d31b40d2b0301581306e34 Mon Sep 17 00:00:00 2001
|
||||
From 01ebe2c7096ad492f3c6d0e58b3b872755cbfe9b Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Mon, 20 Jan 2014 13:44:07 +1100
|
||||
Subject: [PATCH] Catch stalling on corrupted map data / NBT arrays.
|
||||
|
@ -29,5 +29,5 @@ index c7cea7f..099e16a 100644
|
|||
nbtreadlimiter.a((long) (32 * j));
|
||||
this.data = new int[j];
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 09677540762053e0814db3afd0756b0cb3e9475c Mon Sep 17 00:00:00 2001
|
||||
From 321688b2a2f43f5670346ffd8f1729eee12a096d Mon Sep 17 00:00:00 2001
|
||||
From: Dmck2b <dmck2b+github@gmail.com>
|
||||
Date: Mon, 20 Jan 2014 20:18:23 +0000
|
||||
Subject: [PATCH] Allow toggling of ZombiePigmen spawning in portal blocks
|
||||
|
@ -34,5 +34,5 @@ index 558e9cd..ffdb33e 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 56cb3d756f5d2f3471bc0f6a85dd49dd48d92c8b Mon Sep 17 00:00:00 2001
|
||||
From 36e1317ec3b5e31ade6b2e54dc4d305b6ee7bf52 Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Mon, 20 Jan 2014 20:42:28 +0000
|
||||
Subject: [PATCH] Don't let trees replace any block when growing
|
||||
|
@ -23,5 +23,5 @@ index 71ce973..caaac9a 100644
|
|||
|
||||
int l3;
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 45ebc973b86bf0604e180ae7a6b2d3ecc7ccd534 Mon Sep 17 00:00:00 2001
|
||||
From b7b1ae0e44dcb5366584904a8227d480a4ed7600 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Sat, 25 Jan 2014 14:08:35 +1100
|
||||
Subject: [PATCH] Highly Optimized Tick Loop
|
||||
|
@ -161,5 +161,5 @@ index 0000000..2b8343d
|
|||
+ }
|
||||
+}
|
||||
--
|
||||
1.8.5.2.msysgit.0
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From e04e1c93033aa2b9ec322b563ff2327f3c0a7ea0 Mon Sep 17 00:00:00 2001
|
||||
From 70b888d12018b159ad7b30a637b580951e0903e1 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Thu, 23 Jan 2014 13:17:35 +1100
|
||||
Subject: [PATCH] Add Spigot Links
|
||||
|
@ -75,5 +75,5 @@ index 0a5d414..d6bcf5c 100644
|
|||
command-block-overrides: []
|
||||
aliases:
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 02573d29f934b6c387e5458c22e7b4516d663b78 Mon Sep 17 00:00:00 2001
|
||||
From 98083979ea08c5486889194226e0a6b5ae680c82 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Sun, 26 Jan 2014 21:48:34 +1100
|
||||
Subject: [PATCH] Configurable Ping Sample Size
|
||||
|
@ -39,5 +39,5 @@ index 2baed09..8eac742 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From d13124e48d19ef9f4eed821d1d962832032469bc Mon Sep 17 00:00:00 2001
|
||||
From 1b220d10cd0d54f9de7355c7779757b1a92d89b6 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Mon, 27 Jan 2014 08:39:26 +1100
|
||||
Subject: [PATCH] Add Optional Tick Shuffling
|
||||
|
@ -39,5 +39,5 @@ index 8eac742..e26b964 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From ae57253e0e1dfb4f4ea19fa8b85445993c5f2713 Mon Sep 17 00:00:00 2001
|
||||
From 19ab54c5f1481765f09e9d9e8b04cd827c32005d Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Tue, 28 Jan 2014 20:35:35 +1100
|
||||
Subject: [PATCH] Allow Configuring Chunks per Packet
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
index 9411132..585df73 100644
|
||||
index 367472d..d5a5426 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
@@ -214,7 +214,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
|
@ -34,5 +34,5 @@ index ffdb33e..1290829 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 5d9faa7e8f6340570872bfa54125c3c8d8efab3b Mon Sep 17 00:00:00 2001
|
||||
From e9fe48eb126181b69c610e4c7790cc5f4f27b870 Mon Sep 17 00:00:00 2001
|
||||
From: Smove <jan@lavasurvival.net>
|
||||
Date: Sat, 1 Feb 2014 18:12:16 +1100
|
||||
Subject: [PATCH] Implement Locale Getter for Players
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
index 585df73..4fb5f75 100644
|
||||
index d5a5426..d376beb 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
@@ -30,7 +30,7 @@ import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
|
||||
|
@ -18,7 +18,7 @@ index 585df73..4fb5f75 100644
|
|||
public final MinecraftServer server;
|
||||
public final PlayerInteractManager playerInteractManager;
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index f8f1a90..354cc07 100644
|
||||
index 10e8d03..a447add 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1368,6 +1368,12 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -35,5 +35,5 @@ index f8f1a90..354cc07 100644
|
|||
|
||||
public Player.Spigot spigot()
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 963fdf81cdc62893dbcd4246e28a9fdf73b3df17 Mon Sep 17 00:00:00 2001
|
||||
From 6dd165c327b68a2faa7be234b4e703ec2d2069df Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Fri, 31 Jan 2014 11:18:34 -0500
|
||||
Subject: [PATCH] Cap Entity Collisions
|
|
@ -1,4 +1,4 @@
|
|||
From 15fff496d47b970896b595a8987c71c36a43ea16 Mon Sep 17 00:00:00 2001
|
||||
From e404feef50c6e75ca09bf0aca6c22984fe449358 Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Thu, 6 Feb 2014 21:59:20 +0000
|
||||
Subject: [PATCH] Fix dispensing bone meal not having the correct data value
|
||||
|
@ -18,5 +18,5 @@ index b547bc9..c06e9a1 100644
|
|||
BlockDispenseEvent event = new BlockDispenseEvent(block, craftItem.clone(), new org.bukkit.util.Vector(0, 0, 0));
|
||||
if (!BlockDispenser.eventFired) {
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 2b8500f85b705a5cb5699970cc4a42d4f6fefe88 Mon Sep 17 00:00:00 2001
|
||||
From aefd749240cd861d2ec2a26b1fccbe2ff4c594e1 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sat, 8 Feb 2014 08:13:40 +0000
|
||||
Subject: [PATCH] Spam Filter Exclusions
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 629e360..40fb962 100644
|
||||
index 7264dc5..59e98a6 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -849,9 +849,19 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
|
@ -56,5 +56,5 @@ index e26b964..5d65983 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From b221c8c5c0203cbe6da2d8726e4646fe97a70735 Mon Sep 17 00:00:00 2001
|
||||
From 319be2ba8054c81bffee539e97855fa0a160ab73 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Sun, 9 Feb 2014 14:39:01 +1100
|
||||
Subject: [PATCH] Add Option to Silence CommandBlock Console
|
||||
|
@ -33,5 +33,5 @@ index 5d65983..d749f16 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From bb55a92d7f8888f22160c9cf382b1225856629b6 Mon Sep 17 00:00:00 2001
|
||||
From 829e6ee60d506b022b0da761cc6e927527c484a1 Mon Sep 17 00:00:00 2001
|
||||
From: Tux <write@imaginarycode.com>
|
||||
Date: Sun, 9 Feb 2014 14:03:03 -0500
|
||||
Subject: [PATCH] Add support for fetching hidden players
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index 354cc07..bdb74b0 100644
|
||||
index a447add..3c4b42f 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1374,6 +1374,18 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -28,5 +28,5 @@ index 354cc07..bdb74b0 100644
|
|||
|
||||
public Player.Spigot spigot()
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 33cbf11d3399b41fda5ec523ec67c9a435941193 Mon Sep 17 00:00:00 2001
|
||||
From afdcd39f4d49e79d5154922552a22ce6b0389407 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Wed, 12 Feb 2014 18:18:01 +1100
|
||||
Subject: [PATCH] Allow Disabling Creative Item Filter
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 40fb962..f998670 100644
|
||||
index 59e98a6..cc7457f 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -1501,7 +1501,7 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
|
@ -33,5 +33,5 @@ index d749f16..0d0c7b0 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From 46f98a9520a93c7bfe941dbb8cb75923eb6901da Mon Sep 17 00:00:00 2001
|
||||
From 39baed0fad7774a997ffa0458b0bb1a971d8da34 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <git@md-5.net>
|
||||
Date: Wed, 12 Feb 2014 20:02:58 +1100
|
||||
Subject: [PATCH] Cap Channel Registrations
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index bdb74b0..b42b338 100644
|
||||
index 3c4b42f..41e785c 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1056,6 +1056,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -17,5 +17,5 @@ index bdb74b0..b42b338 100644
|
|||
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
From b4c05848c289c74884e21c70ff99fc36fc8b36e9 Mon Sep 17 00:00:00 2001
|
||||
From fdcf14ce34b08518263ebce08493a9f56d347b51 Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Wed, 12 Feb 2014 20:44:14 +0000
|
||||
Subject: [PATCH] Allow vanilla commands to be the main version of a command
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
index 8d33f56..ddce3d9 100644
|
||||
index e209ef4..80a1eeb 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
@@ -121,6 +121,7 @@ import org.bukkit.command.CommandSender;
|
||||
|
@ -170,5 +170,5 @@ index 0d0c7b0..4703768 100644
|
|||
+ }
|
||||
}
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 42950edb14c3917227b26375a85a3df7bc971f2b Mon Sep 17 00:00:00 2001
|
||||
From 99712343d55ca1d71f967991fa64b0d108d19778 Mon Sep 17 00:00:00 2001
|
||||
From: hcherndon <hcherndon@gmail.com>
|
||||
Date: Sat, 15 Feb 2014 01:51:20 -0600
|
||||
Subject: [PATCH] Unfinalize the isDisconnected() method by bukkit.
|
||||
|
@ -6,7 +6,7 @@ Subject: [PATCH] Unfinalize the isDisconnected() method by bukkit.
|
|||
This would literally mean the world to me. You have no idea how much this method being final is fucking me over right now. (Working with NPC's and what not.)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index f998670..b01b6d4 100644
|
||||
index cc7457f..652f7a1 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -1887,7 +1887,7 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
|
@ -19,5 +19,5 @@ index f998670..b01b6d4 100644
|
|||
}
|
||||
// CraftBukkit end
|
||||
--
|
||||
1.8.3.2
|
||||
1.9.1
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user