Skip to content
Success

Changes

Summary

  1. #1013, SPIGOT-4288, SPIGOT-6202: Add material rerouting in preparation (details)
Commit f511cfe1f1aa5b69ed2c1c5aea26904b4ff8a12d by md_5
#1013, SPIGOT-4288, SPIGOT-6202: Add material rerouting in preparation for the switch to ItemType and BlockType

This also moves the conversion from and to legacy material to the method
calls of legacy plugins, and no longer allows them directly in the
server.

This has the side effect of fixing some legacy plugin issues, such as
SPIGOT-4288, SPIGOT-6161. Also fixes legacy items sometimes not stacking
in inventory when using addItem, a client disconnect when using legacy
items in recipes and probably some more.
The file was modified src/main/java/org/bukkit/event/player/PlayerBucketEvent.java
The file was modified src/main/java/org/bukkit/inventory/ItemStack.java
The file was modified src/main/java/org/bukkit/event/inventory/FurnaceExtractEvent.java
The file was modified src/main/java/org/bukkit/event/player/PlayerStatisticIncrementEvent.java
The file was modified src/main/java/org/bukkit/inventory/RecipeChoice.java