mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Update Paper to MC 1.12-pre5
This commit is contained in:
@@ -20,24 +20,24 @@ index fd606ee14..c00fa83d5 100644
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
index 3ef2ffd2d..586c4ad0d 100644
|
||||
index a6f70d846..8b0c126a3 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
@@ -0,0 +0,0 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
private long co = System.currentTimeMillis();
|
||||
private Entity cp;
|
||||
private long cn = System.currentTimeMillis();
|
||||
private Entity co;
|
||||
public boolean worldChangeInvuln;
|
||||
- private boolean cr;
|
||||
+ private boolean cr; private void setHasSeenCredits(boolean has) { this.cr = has; } // Paper - OBFHELPER
|
||||
private final RecipeBookServer cs = new RecipeBookServer();
|
||||
private Vec3D ct;
|
||||
private int cu;
|
||||
- private boolean cq;
|
||||
+ private boolean cq; private void setHasSeenCredits(boolean has) { this.cq = has; } // Paper - OBFHELPER
|
||||
private final RecipeBookServer cr = new RecipeBookServer();
|
||||
private Vec3D cs;
|
||||
private int ct;
|
||||
@@ -0,0 +0,0 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
this.world.kill(this);
|
||||
if (!this.viewingCredits) {
|
||||
this.viewingCredits = true;
|
||||
+ if (world.paperConfig.disableEndCredits) this.setHasSeenCredits(true); // Paper - Toggle to always disable end credits
|
||||
this.playerConnection.sendPacket(new PacketPlayOutGameStateChange(4, this.cr ? 0.0F : 1.0F));
|
||||
this.cr = true;
|
||||
this.playerConnection.sendPacket(new PacketPlayOutGameStateChange(4, this.cq ? 0.0F : 1.0F));
|
||||
this.cq = true;
|
||||
}
|
||||
--
|
Reference in New Issue
Block a user