mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
8778a2ef97
This enables us a fast reference to the entities current chunk instead of having to look it up by hashmap lookups. We also store counts by type to further enable other performance optimizations in later patches.
20 lines
No EOL
1.1 KiB
Diff
20 lines
No EOL
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Jedediah Smith <jedediah@silencegreys.com>
|
|
Date: Tue, 1 Mar 2016 04:32:08 -0500
|
|
Subject: [PATCH] Fix cooked fish legacy import
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/DataConverterMaterialId.java b/src/main/java/net/minecraft/server/DataConverterMaterialId.java
|
|
index 87b82eb35..a7c71f406 100644
|
|
--- a/src/main/java/net/minecraft/server/DataConverterMaterialId.java
|
|
+++ b/src/main/java/net/minecraft/server/DataConverterMaterialId.java
|
|
@@ -0,0 +0,0 @@ public class DataConverterMaterialId implements IDataConverter {
|
|
DataConverterMaterialId.a[347] = "minecraft:clock";
|
|
DataConverterMaterialId.a[348] = "minecraft:glowstone_dust";
|
|
DataConverterMaterialId.a[349] = "minecraft:fish";
|
|
- DataConverterMaterialId.a[350] = "minecraft:cooked_fished";
|
|
+ DataConverterMaterialId.a[350] = "minecraft:cooked_fish"; // Paper - cooked_fished -> cooked_fish
|
|
DataConverterMaterialId.a[351] = "minecraft:dye";
|
|
DataConverterMaterialId.a[352] = "minecraft:bone";
|
|
DataConverterMaterialId.a[353] = "minecraft:sugar";
|
|
--
|