Switch index length check around to prevent crashes

By: md_5 <md_5@live.com.au>
This commit is contained in:
Spigot
2013-07-04 12:09:15 +10:00
parent 94a6f8f598
commit be5b8f1b77
3 changed files with 16 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
From b5740ad8b2744ba6b929533836aead5cc5e1c061 Mon Sep 17 00:00:00 2001
From 5be525c5bc3bd8ad23a17716a35fa76d638a7c32 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 2 Jun 2013 15:20:49 +1000
Subject: [PATCH] BungeeCord Support
@@ -107,4 +107,5 @@ index 60c0875..dab3c5c 100644
* Gets the current result of the login, as an enum
*
--
1.8.1.msysgit.1
1.8.1.2

View File

@@ -1,4 +1,4 @@
From e1563b1f3e9a679ef61878a5b6e3fc2d0c4f6dc3 Mon Sep 17 00:00:00 2001
From a5ed58c6aa2dfef8c8b51fc9c6dfbf4d5e993983 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 2 Jun 2013 15:57:09 +1000
Subject: [PATCH] Add Particle API
@@ -320,10 +320,10 @@ index e14fe40..9ae9b2d 100644
* Represents various map environment types that a world may be
*/
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 0c46c84..5b2d0f9 100644
index 724f601..376ceef 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -661,6 +661,11 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
@@ -681,6 +681,11 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
{
throw new UnsupportedOperationException( "Not supported yet." );
}