Giving map - deprecated getId()

Discussion in 'Plugin Development' started by FakeSwinThry, Aug 16, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    FakeSwinThry

    How to avoid using deprecated Map#getId(), but create new ItemStack for given MapView?
     
  2. Offline

    AcePilot10

    Just ignore deprecation. It just means that it's not used anymore.
     
  3. Offline

    pie_flavor

    @AcePilot10 Deprecation does not mean that it is not used anymore, it means that they would prefer you not use it. For instance, Server#getPlayer(String) is deprecated not because it's not used anymore, but because Bukkit wants to push devs to storing player data in UUIDs instead of names. Or, MaterialData#setData(byte) is deprecated not because it's not used, but because Bukkit enjoys cramming as many enums down your throat as possible.
     
  4. Offline

    FakeSwinThry

    Yeah, but can someone say me, how `bukkit want to push me` to don't use getId(), but give MapView?
     
Thread Status:
Not open for further replies.

Share This Page