Skip to content
Permalink
Browse files

(C2 Compat Diff) build for latest Citizens2

  • Loading branch information...
mcmonkey4eva committed Apr 9, 2018
1 parent 62b2d41 commit da1ec966d304d853fda52325357c88bc69b92fe2
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/org/mcmonkey/sentinel/SentinelTrait.java
@@ -1828,7 +1828,7 @@ public void specialMarkVision() {
SentinelPlugin.instance.getLogger().info("Sentinel: Player, I see you...");
}
if (SentinelTarget.v1_11 && getLivingEntity().getType() == EntityType.SHULKER) {
NMS.setShulkerPeek((Shulker) getLivingEntity(), 100);
NMS.setPeekShulker(getLivingEntity(), 100);
}
}

@@ -1837,7 +1837,7 @@ public void specialUnmarkVision() {
SentinelPlugin.instance.getLogger().info("Sentinel: Goodbye, player.");
}
if (SentinelTarget.v1_11 && getLivingEntity().getType() == EntityType.SHULKER) {
NMS.setShulkerPeek((Shulker) getLivingEntity(), 0);
NMS.setPeekShulker(getLivingEntity(), 0);
}
}

0 comments on commit da1ec96

Please sign in to comment.
You can’t perform that action at this time.