Fix a ConcurrentModificationException in the antixray
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
From dbe079e5ee8a410fca79db006bde74fbdbae3f9c Mon Sep 17 00:00:00 2001
|
||||
From 874cf032c7bff55b2320913d064aa4713a861b40 Mon Sep 17 00:00:00 2001
|
||||
From: David <dmck2b@gmail.com>
|
||||
Date: Mon, 21 Apr 2014 12:43:08 +0100
|
||||
Subject: [PATCH] Prevent NoClassDefError crash and notify on crash
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 4ff8211..3874fab 100644
|
||||
index 64ac7ee..a879ae3 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -111,6 +111,8 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -17,7 +17,7 @@ index 4ff8211..3874fab 100644
|
||||
|
||||
public static long chunkToKey(int x, int z)
|
||||
{
|
||||
@@ -621,6 +623,9 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -628,6 +630,9 @@ public abstract class World implements IBlockAccess {
|
||||
// CraftBukkit end
|
||||
|
||||
block1.doPhysics(this, i, j, k, block);
|
||||
|
||||
Reference in New Issue
Block a user