@ -9,7 +9,6 @@
@@ -9,7 +9,6 @@
package engine.objects ;
import engine.math.Vector3fImmutable ;
import engine.net.client.ClientConnection ;
import engine.net.client.msg.ClientNetMsg ;
import engine.net.client.msg.PetitionReceivedMsg ;
public class Petition {
@ -20,13 +19,13 @@ public class Petition {
@@ -20,13 +19,13 @@ public class Petition {
public Vector3fImmutable playerLocation ;
public String message ;
public Petition ( ClientNetMsg m sg, ClientConnection origin ) {
this . primaryType = ( ( P etitionReceivedMsg) msg ) . type ;
this . subType = ( ( P etitionReceivedMsg) msg ) . subType ;
public Petition ( PetitionReceivedMsg petitionReceivedM sg, ClientConnection origin ) {
this . primaryType = p etitionReceivedMsg. type ;
this . subType = p etitionReceivedMsg. subType ;
this . reportAccount = origin . getAccount ( ) ;
this . reportPlayer = origin . getPlayerCharacter ( ) ;
this . playerLocation = origin . getPlayerCharacter ( ) . getLoc ( ) ;
this . message = ( ( P etitionReceivedMsg) msg ) . message ;
this . message = p etitionReceivedMsg. message ;
}
}