Bugfixes
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 6.2 KiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
@@ -345,7 +345,7 @@ public class NetClient implements ApplicationListener{
|
|||||||
requests[i] = player.getPlaceQueue().get(i);
|
requests[i] = player.getPlaceQueue().get(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
Call.onClientShapshot(lastSent++, Time.millis(), player.x, player.y,
|
Call.onClientShapshot(lastSent++, player.x, player.y,
|
||||||
player.pointerX, player.pointerY, player.rotation, player.baseRotation,
|
player.pointerX, player.pointerY, player.rotation, player.baseRotation,
|
||||||
player.velocity().x, player.velocity().y,
|
player.velocity().x, player.velocity().y,
|
||||||
player.getMineTile(),
|
player.getMineTile(),
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ public class NetServer implements ApplicationListener{
|
|||||||
@Remote(targets = Loc.client, unreliable = true)
|
@Remote(targets = Loc.client, unreliable = true)
|
||||||
public static void onClientShapshot(
|
public static void onClientShapshot(
|
||||||
Player player,
|
Player player,
|
||||||
int snapshotID, long sent,
|
int snapshotID,
|
||||||
float x, float y,
|
float x, float y,
|
||||||
float pointerX, float pointerY,
|
float pointerX, float pointerY,
|
||||||
float rotation, float baseRotation,
|
float rotation, float baseRotation,
|
||||||
|
|||||||
Reference in New Issue
Block a user