TechzoneMC / SonarPet

A fork of EchoPet, updated to 1.11
https://ci.techcable.net/job/SonarPet/
GNU General Public License v3.0
19 stars 16 forks source link

New templates initialisation #74

Closed Rigner closed 8 years ago

Rigner commented 8 years ago

Hi, Init of EntityInsentient throws Reflection Exception, Jumping field is not updated for each NMS version. (so the plugin cannot start anymore ^^")

https://github.com/TechzoneMC/SonarPet/blob/master/templates/com/dsh105/echopet/compat/nms/%24NMS_VERSION/entity/EntityInsentientPet.java.template#L82

This is a mapping i've just done for this field name :

1_6_R3 -> bd 1_7_R1 -> bd 1_7_R2 -> bc 1_7_R3 -> bc 1_7_R4 -> bc 1_8_R1 -> aW 1_8_R2 -> aY 1_8_R3 -> aY 1_9_R1 -> bc 1_9_R2 -> bd 1_10_R1 -> be

Hope it helps :)