diff options
author | snowleo <schneeleo@gmail.com> | 2011-06-06 22:29:08 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-06-06 22:29:08 +0200 |
commit | a45e620946c8e748b35258b7f8813d1c788bae37 (patch) | |
tree | 76b100b6dda862e6d714f85ef9bd40f68bd3b51c /EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java | |
parent | d8778801711ef6c78445baa5da38f4591db0b6c2 (diff) | |
download | Essentials-a45e620946c8e748b35258b7f8813d1c788bae37.tar Essentials-a45e620946c8e748b35258b7f8813d1c788bae37.tar.gz Essentials-a45e620946c8e748b35258b7f8813d1c788bae37.tar.lz Essentials-a45e620946c8e748b35258b7f8813d1c788bae37.tar.xz Essentials-a45e620946c8e748b35258b7f8813d1c788bae37.zip |
Major cleanup of the Protect code
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java')
-rw-r--r-- | EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java b/EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java index b9b036798..dea124b58 100644 --- a/EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java +++ b/EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java @@ -1,9 +1,18 @@ package com.earth2me.essentials.protect.data; public class OwnedBlock { - int x; - int y; - int z; - String world; - String playerName; + final int x; + final int y; + final int z; + final String world; + final String playerName; + + public OwnedBlock(int x, int y, int z, String world, String playerName) + { + this.x = x; + this.y = y; + this.z = z; + this.world = world; + this.playerName = playerName; + } } |