2013-10-09 07:20:20 +00:00
|
|
|
From 1119047fd58285bfcb93716e2a53f418a82323bf Mon Sep 17 00:00:00 2001
|
2013-10-02 02:15:29 +00:00
|
|
|
From: mrapple <tony@oc.tc>
|
|
|
|
Date: Tue, 1 Oct 2013 21:10:50 -0500
|
|
|
|
Subject: [PATCH] Fix clearing potion effects on respawn -- missed rename
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
2013-10-09 07:20:20 +00:00
|
|
|
index 6c55250..d84c1be 100644
|
2013-10-02 02:15:29 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
2013-10-09 07:20:20 +00:00
|
|
|
@@ -958,7 +958,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
2013-10-02 02:15:29 +00:00
|
|
|
this.expTotal = this.newTotalExp;
|
|
|
|
this.exp = 0;
|
|
|
|
this.deathTicks = 0;
|
|
|
|
- this.aJ(); // Should be removeAllEffects.
|
|
|
|
+ this.aK(); // Should be removeAllEffects.
|
|
|
|
this.updateEffects = true;
|
|
|
|
this.activeContainer = this.defaultContainer;
|
|
|
|
this.killer = null;
|
|
|
|
--
|
2013-10-09 07:20:20 +00:00
|
|
|
1.8.1.2
|
2013-10-02 02:15:29 +00:00
|
|
|
|