Commit Graph

9 Commits

Author SHA1 Message Date
Bukkit/Spigot
2a6d2d27d7 #909: Update tests to JUnit 5
By: DerFrZocker <derrieple@gmail.com>
2023-09-24 06:09:10 +10:00
Bukkit/Spigot
e9ae9842f0 Apply and enforce import ordering rules
By: md_5 <git@md-5.net>
2019-04-23 14:33:57 +10:00
Bukkit/Spigot
6ea05f1541 Make matchMaterial accept the minecraft: namespace
By: md_5 <git@md-5.net>
2018-08-29 19:26:58 +10:00
Bukkit/Spigot
767e4f6ccf Update to Minecraft 1.13-pre7
By: md_5 <git@md-5.net>
2018-07-15 10:00:00 +10:00
Bukkit/Spigot
7f7f1608e8 BUILDTOOLS-251: Make much of Bukkit locale independent
By: md_5 <git@md-5.net>
2016-06-26 19:31:59 +10:00
Bukkit/Spigot
aa66c8025a Update Update Bukkit to 1.7.2
By: mbax <matt@phozop.net>
2013-11-13 17:53:49 -07:00
Bukkit/Spigot
08fa8ed053 Added negative id check to Material.getMaterial(int). Fixes BUKKIT-3414
Negative id values would try to access the array out of bounds and throw an java.lang.ArrayIndexOutOfBoundsException.

By: MikeMatrix <m.braun92@gmail.com>
2013-01-11 02:07:38 +01:00
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
Bukkit/Spigot
ac2271958e Add some testing
By: Erik Broes <erikbroes@grum.nl>
2012-01-29 11:10:40 +01:00