Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private final int item[], itemAmount[];
- private static final long serialVersionUID = 1L;
- public PlayerDefinition(Player player)
- {
- password = player.password;
- username = player.username;
- absoluteX = player.absoluteX;
- absoluteY = player.absoluteY;
- heightLevel = player.heightLevel;
- item = player.playerItems;
- itemAmount = player.playerItemsN;
- }
- public String getPassword()
- {
- return password;
- }
- // How do I make it return item and itemAmount?
- // I tried doing this:
- public int getItem()
- {
- return item;
- }
- public int getItems()
- {
- return itemAmount;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement