mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Update B/CB/S
This commit is contained in:
parent
16e823a55d
commit
c738f996e8
4 changed files with 12 additions and 12 deletions
|
@ -442,7 +442,7 @@ index 2dca6dbcb..352310960 100644
|
|||
public static int getId(Block block) {
|
||||
return Block.REGISTRY.a(block); // CraftBukkit - decompile error
|
||||
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
|
||||
index d268fec39..52f6242d7 100644
|
||||
index c4d9344a7..350e0991d 100644
|
||||
--- a/src/main/java/net/minecraft/server/Chunk.java
|
||||
+++ b/src/main/java/net/minecraft/server/Chunk.java
|
||||
@@ -0,0 +0,0 @@ public class Chunk {
|
||||
|
@ -596,7 +596,7 @@ index e1cb96a88..8f2afcc32 100644
|
|||
return waitable.get();
|
||||
} catch (java.util.concurrent.ExecutionException e) {
|
||||
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
||||
index c2da96eaf..6d47f384a 100644
|
||||
index 8181ab2f2..f54c654fb 100644
|
||||
--- a/src/main/java/net/minecraft/server/Entity.java
|
||||
+++ b/src/main/java/net/minecraft/server/Entity.java
|
||||
@@ -0,0 +0,0 @@ import org.bukkit.block.BlockFace;
|
||||
|
@ -984,7 +984,7 @@ index eeac34998..e4ed2e991 100644
|
|||
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 9dc1e2681..c291e2605 100644
|
||||
index 516673c0e..8cb7486ba 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -0,0 +0,0 @@ import org.bukkit.inventory.CraftingInventory;
|
||||
|
@ -1425,7 +1425,7 @@ index 37e3c14fd..fa6a74474 100644
|
|||
org.spigotmc.RestartCommand.restart();
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/SpigotTimings.java b/src/main/java/org/bukkit/craftbukkit/SpigotTimings.java
|
||||
deleted file mode 100644
|
||||
index 311a2c3f6..000000000
|
||||
index 4c8ab2bc9..000000000
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/SpigotTimings.java
|
||||
+++ /dev/null
|
||||
@@ -0,0 +0,0 @@
|
||||
|
@ -1520,10 +1520,10 @@ index 311a2c3f6..000000000
|
|||
- * @return
|
||||
- */
|
||||
- public static CustomTimingsHandler getEntityTimings(Entity entity) {
|
||||
- String entityType = entity.getClass().getSimpleName();
|
||||
- String entityType = entity.getClass().getName();
|
||||
- CustomTimingsHandler result = entityTypeTimingMap.get(entityType);
|
||||
- if (result == null) {
|
||||
- result = new CustomTimingsHandler("** tickEntity - " + entityType, activatedEntityTimer);
|
||||
- result = new CustomTimingsHandler("** tickEntity - " + entity.getClass().getSimpleName(), activatedEntityTimer);
|
||||
- entityTypeTimingMap.put(entityType, result);
|
||||
- }
|
||||
- return result;
|
||||
|
@ -1535,10 +1535,10 @@ index 311a2c3f6..000000000
|
|||
- * @return
|
||||
- */
|
||||
- public static CustomTimingsHandler getTileEntityTimings(TileEntity entity) {
|
||||
- String entityType = entity.getClass().getSimpleName();
|
||||
- String entityType = entity.getClass().getName();
|
||||
- CustomTimingsHandler result = tileEntityTypeTimingMap.get(entityType);
|
||||
- if (result == null) {
|
||||
- result = new CustomTimingsHandler("** tickTileEntity - " + entityType, tickTileEntityTimer);
|
||||
- result = new CustomTimingsHandler("** tickTileEntity - " + entity.getClass().getSimpleName(), tickTileEntityTimer);
|
||||
- tileEntityTypeTimingMap.put(entityType, result);
|
||||
- }
|
||||
- return result;
|
||||
|
@ -1674,7 +1674,7 @@ index ca138fa65..d38900887 100644
|
|||
|
||||
public Player.Spigot spigot()
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java b/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java
|
||||
index 27725b20e..19adb77b5 100644
|
||||
index 23d7ce26f..d50bbd2a6 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java
|
||||
@@ -0,0 +0,0 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit dcc4266e331ab53697ba0f56dc3027d2d691cf88
|
||||
Subproject commit cef79e55153e438d9ef4b87f4de45cd59233f01e
|
|
@ -1 +1 @@
|
|||
Subproject commit 31d3159f04d02d240d8f6362835774639e052894
|
||||
Subproject commit 53fccdf958fe3e10cb9bdb0f396a454e9ac6ead9
|
|
@ -1 +1 @@
|
|||
Subproject commit 93e20b3652e42c34d30c306592aaec7fd3a41504
|
||||
Subproject commit 5695bca2df7302a6a911e8591591925e8852e0e9
|
Loading…
Reference in a new issue