mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Possible fix for crossbow rendering crashing on server login. This might happen because of the crossbow rendering before the necessary NBT is loaded.... if that's even possible #1254
This commit is contained in:
1 parent
384fe28be9
commit
0f1a4582af
1 file changed
+1
-1
@@ -41,7 +41,7 @@ public class CrossbowRenderer extends FlexibleToolRenderer {
|
||||
GL11.glRotatef(50f, 1f, 0f, 0f);
|
||||
}
|
||||
|
||||
if(ammo != null) {
|
||||
if(ammo != null && ammo.hasTagCompound()) {
|
||||
//float progress = crossbow.getWindupProgress(item, player);
|
||||
float progress = 1f;
|
||||
dummy.returnStack = ammo;
|
||||
|
||||
Reference in new issue
Block a user