mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 20:52:20 +00:00
break from client for now
This commit is contained in:
1 parent
29e42d86ea
commit
9da9d61880
4 files changed
+22
-41
No files matched your search
@@ -475,7 +475,7 @@ public class EntityDoppleganger extends EntityCreature implements IBotaniaBossWi
|
||||
@Override
|
||||
public void setDead() {
|
||||
BlockPos source = getSource();
|
||||
Botania.proxy.playRecordClientSided(worldObj, source.posX, source.posY, source.posZ, null);
|
||||
Botania.proxy.playRecordClientSided(worldObj, , source.posX, null);
|
||||
isPlayingMusic = false;
|
||||
super.setDead();
|
||||
}
|
||||
@@ -524,7 +524,7 @@ public class EntityDoppleganger extends EntityCreature implements IBotaniaBossWi
|
||||
int playerCount = getPlayerCount();
|
||||
|
||||
if(worldObj.isRemote && !isPlayingMusic && !isDead && !players.isEmpty()) {
|
||||
Botania.proxy.playRecordClientSided(worldObj, source.posX, source.posY, source.posZ, (ItemRecord) (hard ? ModItems.recordGaia2 : ModItems.recordGaia1));
|
||||
Botania.proxy.playRecordClientSided(worldObj, , source.posX, (ItemRecord) (hard ? ModItems.recordGaia2 : ModItems.recordGaia1));
|
||||
isPlayingMusic = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user