High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
Bukkit/Spigot d2e8c21941 Cache material data constructors. Fixes BUKKIT-2980
Reobtaining a constructor is not a trivial operation, this change makes the Material enum store the respective constructors for each MaterialData.

Additionally 'fixed' the material tests to use proper generics.

By: Darth Android <darthandroid@gmail.com>
2012-11-17 11:13:58 -06:00
paper-api Cache material data constructors. Fixes BUKKIT-2980 2012-11-17 11:13:58 -06:00