Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
Don't tick Skulls - unused code - Fixes #202
Dieser Commit ist enthalten in:
Ursprung
e177666bfb
Commit
d98f9cc5ae
22
Spigot-Server-Patches/0135-Don-t-tick-Skulls-unused-code.patch
Normale Datei
22
Spigot-Server-Patches/0135-Don-t-tick-Skulls-unused-code.patch
Normale Datei
@ -0,0 +1,22 @@
|
|||||||
|
From 2e15509cae111abe7ba242e05f0d9d3807ca4043 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Aikar <aikar@aikar.co>
|
||||||
|
Date: Wed, 13 Apr 2016 00:30:10 -0400
|
||||||
|
Subject: [PATCH] Don't tick Skulls - unused code
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/src/main/java/net/minecraft/server/TileEntitySkull.java b/src/main/java/net/minecraft/server/TileEntitySkull.java
|
||||||
|
index 3c20ef3..e652983 100644
|
||||||
|
--- a/src/main/java/net/minecraft/server/TileEntitySkull.java
|
||||||
|
+++ b/src/main/java/net/minecraft/server/TileEntitySkull.java
|
||||||
|
@@ -20,7 +20,7 @@ import com.mojang.authlib.Agent;
|
||||||
|
import com.mojang.authlib.ProfileLookupCallback;
|
||||||
|
// Spigot end
|
||||||
|
|
||||||
|
-public class TileEntitySkull extends TileEntity implements ITickable {
|
||||||
|
+public class TileEntitySkull extends TileEntity /*implements ITickable*/ { // Paper - remove tickable
|
||||||
|
|
||||||
|
private int a;
|
||||||
|
private int rotation;
|
||||||
|
--
|
||||||
|
2.8.1
|
||||||
|
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren