Skip to content

Commit

Permalink
Stop projecting scarves, fix ci not picking up dependency changes
Browse files Browse the repository at this point in the history
  • Loading branch information
falkreon committed Dec 22, 2017
1 parent 26ad140 commit 2c5f856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
node {
checkout scm
sh './gradlew setupCiWorkspace clean build'
sh './gradlew setupCiWorkspace clean build --refresh-dependencies'
archive 'build/libs/*jar'
}
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void onPostRender(RenderWorldLastEvent evt) {
EntityPlayer thePlayer = Minecraft.getMinecraft().player;

for(EntityPlayer entity : Minecraft.getMinecraft().world.playerEntities) {
IBaublesItemHandler baubles = BaublesApi.getBaublesHandler(thePlayer);
IBaublesItemHandler baubles = BaublesApi.getBaublesHandler(entity);
ItemStack scarfStack = baubles.getStackInSlot(BAUBLE_AMULET);
if (scarfStack==null || scarfStack.isEmpty() || scarfStack.getItem()!=ThermionicsItems.SCARF) return;
Scarf scarf = scarfCache.getIfPresent(entity);
Expand Down

0 comments on commit 2c5f856

Please sign in to comment.