TypeDataItemStack is not 1.7 compatible either due to annotations loading. Luckily not used in any public plugins for now.
This commit is contained in:
parent
b402eed4c3
commit
de1a28914b
@ -237,7 +237,19 @@ public class RegistryType
|
||||
|
||||
register(TypeDataPotionEffect.get());
|
||||
register(TypeDataFireworkEffect.get());
|
||||
register(TypeDataItemStack.get());
|
||||
|
||||
// 1.? Compat
|
||||
// TODO: The annotations breaks with 1.7.
|
||||
// TODO: Find a solution to dodge the converter annotation class inits.
|
||||
try
|
||||
{
|
||||
register(TypeDataItemStack.get());
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
register(TypePermission.get());
|
||||
register(TypePotionEffectType.get());
|
||||
register(TypePS.get());
|
||||
|
Loading…
Reference in New Issue
Block a user