Skip to content
Permalink
Browse files

Fixed a null pointer exceptions with skulls.

  • Loading branch information...
Ri5ux committed Mar 13, 2019
1 parent 3706994 commit d579e773bbc76b452faf0555d3cff0ae371d997a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/avp/client/render/tile/RenderSkull.java
@@ -16,7 +16,7 @@
@Override
public void render(TileEntitySkull skull, double posX, double posY, double posZ, float renderPartialTicks, int destroyStage, float alpha)
{
if (skull != null)
if (skull != null && skull.getBlockType() instanceof BlockSkull)
{
BlockSkull block = (BlockSkull) skull.getBlockType();

0 comments on commit d579e77

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.