mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 08:57:44 +01:00
Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly Paper Changes: 4df3dad8 Reduce PlayerNaturallySpawnCreaturesEvent calls
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From fe7a867041542145cc9fb41d1016040fe8f64800 Mon Sep 17 00:00:00 2001
|
||||
From 08797ff8d48c0268a102240df3ca28ca6a631741 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Thu, 8 Aug 2019 15:29:15 -0500
|
||||
Subject: [PATCH] Implement AFK API
|
||||
@@ -49,10 +49,10 @@ index de22cad764..9d26bd1e4c 100644
|
||||
super(EntityTypes.PLAYER, world);
|
||||
this.bV = ItemStack.a;
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
index 415cdb1c30..670dcf2829 100644
|
||||
index a2f239b49e..1b5140a357 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
@@ -1615,8 +1615,51 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
@@ -1617,8 +1617,51 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
|
||||
public void resetIdleTimer() {
|
||||
this.cj = SystemUtils.getMonotonicMillis();
|
||||
|
||||
Reference in New Issue
Block a user