fixes issue 66, by using a temporary PRNG until the next full packet update comes through
This commit is contained in:
parent
685310fd79
commit
89c69427db
1 changed files with 4 additions and 0 deletions
|
@ -352,8 +352,12 @@ public class PipeTransportItems extends PipeTransport {
|
|||
int i;
|
||||
|
||||
if (APIProxy.isClient(worldObj) || APIProxy.isServerSide())
|
||||
{
|
||||
i = Math.abs(data.item.entityId + xCoord + yCoord + zCoord + data.item.deterministicRandomization)
|
||||
% listOfPossibleMovements.size();
|
||||
data.item.deterministicRandomization*=11;
|
||||
|
||||
}
|
||||
else
|
||||
i = worldObj.rand.nextInt(listOfPossibleMovements.size());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue